com.amazonaws.services.redshift.model
Class ClusterNode

java.lang.Object
  extended by com.amazonaws.services.redshift.model.ClusterNode
All Implemented Interfaces:
Serializable

public class ClusterNode
extends Object
implements Serializable

The identifier of a node in a cluster. -->

See Also:
Serialized Form

Constructor Summary
ClusterNode()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getNodeRole()
          Whether the node is a leader node or a compute node.
 String getPrivateIPAddress()
          The private IP address of a node within a cluster.
 String getPublicIPAddress()
          The public IP address of a node within a cluster.
 int hashCode()
           
 void setNodeRole(String nodeRole)
          Whether the node is a leader node or a compute node.
 void setPrivateIPAddress(String privateIPAddress)
          The private IP address of a node within a cluster.
 void setPublicIPAddress(String publicIPAddress)
          The public IP address of a node within a cluster.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ClusterNode withNodeRole(String nodeRole)
          Whether the node is a leader node or a compute node.
 ClusterNode withPrivateIPAddress(String privateIPAddress)
          The private IP address of a node within a cluster.
 ClusterNode withPublicIPAddress(String publicIPAddress)
          The public IP address of a node within a cluster.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClusterNode

public ClusterNode()
Method Detail

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.

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.

withNodeRole

public ClusterNode withNodeRole(String nodeRole)
Whether the node is a leader node or a compute node.

Returns a reference to this object so that method calls can be chained together.

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

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.

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.

withPrivateIPAddress

public ClusterNode withPrivateIPAddress(String privateIPAddress)
The private IP address of a node within a cluster.

Returns a reference to this object so that method calls can be chained together.

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

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.

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.

withPublicIPAddress

public ClusterNode withPublicIPAddress(String publicIPAddress)
The public IP address of a node within a cluster.

Returns a reference to this object so that method calls can be chained together.

Parameters:
publicIPAddress - The public IP address of a node within a cluster.
Returns:
A reference to this updated 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

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.