Class ClusterNode

    • Constructor Detail

      • ClusterNode

        public ClusterNode()
    • Method Detail

      • setNodeRole

        public void setNodeRole​(String nodeRole)

        Whether the node is a leader node or a compute node.

        Parameters:
        nodeRole - Whether the node is a leader node or a compute node.
      • getNodeRole

        public String getNodeRole()

        Whether the node is a leader node or a compute node.

        Returns:
        Whether the node is a leader node or a compute node.
      • withNodeRole

        public ClusterNode withNodeRole​(String nodeRole)

        Whether the node is a leader node or a compute node.

        Parameters:
        nodeRole - Whether the node is a leader node or a compute node.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPrivateIPAddress

        public void setPrivateIPAddress​(String privateIPAddress)

        The private IP address of a node within a cluster.

        Parameters:
        privateIPAddress - The private IP address of a node within a cluster.
      • getPrivateIPAddress

        public String getPrivateIPAddress()

        The private IP address of a node within a cluster.

        Returns:
        The private IP address of a node within a cluster.
      • withPrivateIPAddress

        public ClusterNode withPrivateIPAddress​(String privateIPAddress)

        The private IP address of a node within a cluster.

        Parameters:
        privateIPAddress - The private IP address of a node within a cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPublicIPAddress

        public void setPublicIPAddress​(String publicIPAddress)

        The public IP address of a node within a cluster.

        Parameters:
        publicIPAddress - The public IP address of a node within a cluster.
      • getPublicIPAddress

        public String getPublicIPAddress()

        The public IP address of a node within a cluster.

        Returns:
        The public IP address of a node within a cluster.
      • withPublicIPAddress

        public ClusterNode withPublicIPAddress​(String publicIPAddress)

        The public IP address of a node within a cluster.

        Parameters:
        publicIPAddress - The public IP address of a node within a cluster.
        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; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object