@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsRedshiftClusterClusterNode extends Object implements Serializable, Cloneable, StructuredPojo
A node in an Amazon Redshift cluster.
| Constructor and Description |
|---|
AwsRedshiftClusterClusterNode() |
| Modifier and Type | Method and Description |
|---|---|
AwsRedshiftClusterClusterNode |
clone() |
boolean |
equals(Object obj) |
String |
getNodeRole()
The role of the node.
|
String |
getPrivateIpAddress()
The private IP address of the node.
|
String |
getPublicIpAddress()
The public IP address of the node.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setNodeRole(String nodeRole)
The role of the node.
|
void |
setPrivateIpAddress(String privateIpAddress)
The private IP address of the node.
|
void |
setPublicIpAddress(String publicIpAddress)
The public IP address of the node.
|
String |
toString()
Returns a string representation of this object.
|
AwsRedshiftClusterClusterNode |
withNodeRole(String nodeRole)
The role of the node.
|
AwsRedshiftClusterClusterNode |
withPrivateIpAddress(String privateIpAddress)
The private IP address of the node.
|
AwsRedshiftClusterClusterNode |
withPublicIpAddress(String publicIpAddress)
The public IP address of the node.
|
public void setNodeRole(String nodeRole)
The role of the node. A node might be a leader node or a compute node.
nodeRole - The role of the node. A node might be a leader node or a compute node.public String getNodeRole()
The role of the node. A node might be a leader node or a compute node.
public AwsRedshiftClusterClusterNode withNodeRole(String nodeRole)
The role of the node. A node might be a leader node or a compute node.
nodeRole - The role of the node. A node might be a leader node or a compute node.public void setPrivateIpAddress(String privateIpAddress)
The private IP address of the node.
privateIpAddress - The private IP address of the node.public String getPrivateIpAddress()
The private IP address of the node.
public AwsRedshiftClusterClusterNode withPrivateIpAddress(String privateIpAddress)
The private IP address of the node.
privateIpAddress - The private IP address of the node.public void setPublicIpAddress(String publicIpAddress)
The public IP address of the node.
publicIpAddress - The public IP address of the node.public String getPublicIpAddress()
The public IP address of the node.
public AwsRedshiftClusterClusterNode withPublicIpAddress(String publicIpAddress)
The public IP address of the node.
publicIpAddress - The public IP address of the node.public String toString()
toString in class ObjectObject.toString()public AwsRedshiftClusterClusterNode clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.