@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HdfsNameNode extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
HdfsNameNode() |
Modifier and Type | Method and Description |
---|---|
HdfsNameNode |
clone() |
boolean |
equals(Object obj) |
String |
getHostname()
The hostname of the NameNode in the HDFS cluster.
|
Integer |
getPort()
The port that the NameNode uses to listen to client requests.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setHostname(String hostname)
The hostname of the NameNode in the HDFS cluster.
|
void |
setPort(Integer port)
The port that the NameNode uses to listen to client requests.
|
String |
toString()
Returns a string representation of this object.
|
HdfsNameNode |
withHostname(String hostname)
The hostname of the NameNode in the HDFS cluster.
|
HdfsNameNode |
withPort(Integer port)
The port that the NameNode uses to listen to client requests.
|
public void setHostname(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.
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 String getHostname()
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 HdfsNameNode withHostname(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.
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 void setPort(Integer port)
The port that the NameNode uses to listen to client requests.
port
- The port that the NameNode uses to listen to client requests.public Integer getPort()
The port that the NameNode uses to listen to client requests.
public HdfsNameNode withPort(Integer port)
The port that the NameNode uses to listen to client requests.
port
- The port that the NameNode uses to listen to client requests.public String toString()
toString
in class Object
Object.toString()
public HdfsNameNode clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.