Class HdfsNameNode
- java.lang.Object
-
- software.amazon.awssdk.services.datasync.model.HdfsNameNode
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<HdfsNameNode.Builder,HdfsNameNode>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceHdfsNameNode.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HdfsNameNode.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringhostname()The hostname of the NameNode in the HDFS cluster.Integerport()The port that the NameNode uses to listen to client requests.List<SdkField<?>>sdkFields()static Class<? extends HdfsNameNode.Builder>serializableBuilderClass()HdfsNameNode.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
hostname
public 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.
- Returns:
- 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.
-
port
public final Integer port()
The port that the NameNode uses to listen to client requests.
- Returns:
- The port that the NameNode uses to listen to client requests.
-
toBuilder
public HdfsNameNode.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<HdfsNameNode.Builder,HdfsNameNode>
-
builder
public static HdfsNameNode.Builder builder()
-
serializableBuilderClass
public static Class<? extends HdfsNameNode.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-