@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClusterNode extends Object implements Serializable, Cloneable
The identifier of a node in a cluster.
Constructor and Description |
---|
ClusterNode() |
Modifier and Type | Method and Description |
---|---|
ClusterNode |
clone() |
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.
|
public void setNodeRole(String nodeRole)
Whether the node is a leader node or a compute node.
nodeRole
- Whether the node is a leader node or a compute node.public String getNodeRole()
Whether the node is a leader node or a compute node.
public ClusterNode withNodeRole(String nodeRole)
Whether the node is a leader node or a compute node.
nodeRole
- Whether the node is a leader node or a compute node.public void setPrivateIPAddress(String privateIPAddress)
The private IP address of a node within a cluster.
privateIPAddress
- The private IP address of a node within a cluster.public String getPrivateIPAddress()
The private IP address of a node within a cluster.
public ClusterNode withPrivateIPAddress(String privateIPAddress)
The private IP address of a node within a cluster.
privateIPAddress
- The private IP address of a node within a cluster.public void setPublicIPAddress(String publicIPAddress)
The public IP address of a node within a cluster.
publicIPAddress
- The public IP address of a node within a cluster.public String getPublicIPAddress()
The public IP address of a node within a cluster.
public ClusterNode withPublicIPAddress(String publicIPAddress)
The public IP address of a node within a cluster.
publicIPAddress
- The public IP address of a node within a cluster.public String toString()
toString
in class Object
Object.toString()
public ClusterNode clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.