Class ClusterNode
java.lang.Object
com.amazonaws.services.redshift.model.ClusterNode
- All Implemented Interfaces:
Serializable
,Cloneable
The identifier of a node in a cluster.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Whether the node is a leader node or a compute node.The private IP address of a node within a cluster.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.toString()
Returns a string representation of this object; useful for testing and debugging.withNodeRole
(String nodeRole) Whether the node is a leader node or a compute node.withPrivateIPAddress
(String privateIPAddress) The private IP address of a node within a cluster.withPublicIPAddress
(String publicIPAddress) The public IP address of a node within a cluster.
-
Constructor Details
-
ClusterNode
public ClusterNode()
-
-
Method Details
-
setNodeRole
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
Whether the node is a leader node or a compute node.
- Returns:
- Whether the node is a leader node or a compute node.
-
withNodeRole
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
The private IP address of a node within a cluster.
- Parameters:
privateIPAddress
- The private IP address of a node within a cluster.
-
getPrivateIPAddress
The private IP address of a node within a cluster.
- Returns:
- The private IP address of a node within a cluster.
-
withPrivateIPAddress
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
The public IP address of a node within a cluster.
- Parameters:
publicIPAddress
- The public IP address of a node within a cluster.
-
getPublicIPAddress
The public IP address of a node within a cluster.
- Returns:
- The public IP address of a node within a cluster.
-
withPublicIPAddress
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-