@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SecondaryClusterInfo extends Object implements Serializable, Cloneable
The AvailabilityZone and ClusterNodes information of the secondary compute unit.
Constructor and Description |
---|
SecondaryClusterInfo() |
Modifier and Type | Method and Description |
---|---|
SecondaryClusterInfo |
clone() |
boolean |
equals(Object obj) |
String |
getAvailabilityZone()
The name of the Availability Zone in which the secondary compute unit of the cluster is located.
|
List<ClusterNode> |
getClusterNodes()
The nodes in the secondary compute unit.
|
int |
hashCode() |
void |
setAvailabilityZone(String availabilityZone)
The name of the Availability Zone in which the secondary compute unit of the cluster is located.
|
void |
setClusterNodes(Collection<ClusterNode> clusterNodes)
The nodes in the secondary compute unit.
|
String |
toString()
Returns a string representation of this object.
|
SecondaryClusterInfo |
withAvailabilityZone(String availabilityZone)
The name of the Availability Zone in which the secondary compute unit of the cluster is located.
|
SecondaryClusterInfo |
withClusterNodes(ClusterNode... clusterNodes)
The nodes in the secondary compute unit.
|
SecondaryClusterInfo |
withClusterNodes(Collection<ClusterNode> clusterNodes)
The nodes in the secondary compute unit.
|
public void setAvailabilityZone(String availabilityZone)
The name of the Availability Zone in which the secondary compute unit of the cluster is located.
availabilityZone
- The name of the Availability Zone in which the secondary compute unit of the cluster is located.public String getAvailabilityZone()
The name of the Availability Zone in which the secondary compute unit of the cluster is located.
public SecondaryClusterInfo withAvailabilityZone(String availabilityZone)
The name of the Availability Zone in which the secondary compute unit of the cluster is located.
availabilityZone
- The name of the Availability Zone in which the secondary compute unit of the cluster is located.public List<ClusterNode> getClusterNodes()
The nodes in the secondary compute unit.
public void setClusterNodes(Collection<ClusterNode> clusterNodes)
The nodes in the secondary compute unit.
clusterNodes
- The nodes in the secondary compute unit.public SecondaryClusterInfo withClusterNodes(ClusterNode... clusterNodes)
The nodes in the secondary compute unit.
NOTE: This method appends the values to the existing list (if any). Use
setClusterNodes(java.util.Collection)
or withClusterNodes(java.util.Collection)
if you want to
override the existing values.
clusterNodes
- The nodes in the secondary compute unit.public SecondaryClusterInfo withClusterNodes(Collection<ClusterNode> clusterNodes)
The nodes in the secondary compute unit.
clusterNodes
- The nodes in the secondary compute unit.public String toString()
toString
in class Object
Object.toString()
public SecondaryClusterInfo clone()