@Generated(value="software.amazon.awssdk:codegen") public final class HdfsNameNode extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HdfsNameNode.Builder,HdfsNameNode>
The NameNode of the Hadoop Distributed File System (HDFS). The NameNode manages the file system's namespace. The NameNode performs operations such as opening, closing, and renaming files and directories. The NameNode contains the information to map blocks of data to the DataNodes.
| Modifier and Type | Class and Description |
|---|---|
static interface |
HdfsNameNode.Builder |
| Modifier and Type | Method and Description |
|---|---|
static HdfsNameNode.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
hostname()
The hostname of the NameNode in the HDFS cluster.
|
Integer |
port()
The port that the NameNode uses to listen to client requests.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends HdfsNameNode.Builder> |
serializableBuilderClass() |
HdfsNameNode.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String hostname()
The hostname of the NameNode in the HDFS cluster. This value is the IP address or Domain Name Service (DNS) name of the NameNode. An agent that's installed on-premises uses this hostname to communicate with the NameNode in the network.
public final Integer port()
The port that the NameNode uses to listen to client requests.
public HdfsNameNode.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<HdfsNameNode.Builder,HdfsNameNode>public static HdfsNameNode.Builder builder()
public static Class<? extends HdfsNameNode.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.