JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.datasync.model

Class HdfsNameNode

    • Constructor Detail

      • HdfsNameNode

        public HdfsNameNode()
    • Method Detail

      • setHostname

        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.

        Parameters:
        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.
      • getHostname

        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.

        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.
      • withHostname

        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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • setPort

        public void setPort(Integer port)

        The port that the NameNode uses to listen to client requests.

        Parameters:
        port - The port that the NameNode uses to listen to client requests.
      • getPort

        public Integer getPort()

        The port that the NameNode uses to listen to client requests.

        Returns:
        The port that the NameNode uses to listen to client requests.
      • withPort

        public HdfsNameNode withPort(Integer port)

        The port that the NameNode uses to listen to client requests.

        Parameters:
        port - The port that the NameNode uses to listen to client requests.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public 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.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /