@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OrderableClusterOption extends Object implements Serializable, Cloneable
Describes an orderable cluster option.
| Constructor and Description |
|---|
OrderableClusterOption () |
| Modifier and Type | Method and Description |
|---|---|
OrderableClusterOption |
clone () |
boolean |
equals (Object obj) |
List<AvailabilityZone> |
getAvailabilityZones ()
A list of availability zones for the orderable cluster.
|
String |
getClusterType ()
The cluster type, for example
multi-node. |
String |
getClusterVersion ()
The version of the orderable cluster.
|
String |
getNodeType ()
The node type for the orderable cluster.
|
int |
hashCode () |
void |
setAvailabilityZones (Collection<AvailabilityZone> availabilityZones)
A list of availability zones for the orderable cluster.
|
void |
setClusterType (String clusterType)
The cluster type, for example
multi-node. |
void |
setClusterVersion (String clusterVersion)
The version of the orderable cluster.
|
void |
setNodeType (String nodeType)
The node type for the orderable cluster.
|
String |
toString ()
Returns a string representation of this object.
|
OrderableClusterOption |
withAvailabilityZones (AvailabilityZone... availabilityZones)
A list of availability zones for the orderable cluster.
|
OrderableClusterOption |
withAvailabilityZones (Collection<AvailabilityZone> availabilityZones)
A list of availability zones for the orderable cluster.
|
OrderableClusterOption |
withClusterType (String clusterType)
The cluster type, for example
multi-node. |
OrderableClusterOption |
withClusterVersion (String clusterVersion)
The version of the orderable cluster.
|
OrderableClusterOption |
withNodeType (String nodeType)
The node type for the orderable cluster.
|
public OrderableClusterOption()
public void setClusterVersion(String clusterVersion)
The version of the orderable cluster.
clusterVersion - The version of the orderable cluster.public String getClusterVersion()
The version of the orderable cluster.
public OrderableClusterOption withClusterVersion(String clusterVersion)
The version of the orderable cluster.
clusterVersion - The version of the orderable cluster.public void setClusterType(String clusterType)
The cluster type, for example multi-node.
clusterType - The cluster type, for example multi-node.public String getClusterType()
The cluster type, for example multi-node.
multi-node.public OrderableClusterOption withClusterType(String clusterType)
The cluster type, for example multi-node.
clusterType - The cluster type, for example multi-node.public void setNodeType(String nodeType)
The node type for the orderable cluster.
nodeType - The node type for the orderable cluster.public String getNodeType()
The node type for the orderable cluster.
public OrderableClusterOption withNodeType(String nodeType)
The node type for the orderable cluster.
nodeType - The node type for the orderable cluster.public List<AvailabilityZone> getAvailabilityZones()
A list of availability zones for the orderable cluster.
public void setAvailabilityZones(Collection<AvailabilityZone> availabilityZones)
A list of availability zones for the orderable cluster.
availabilityZones - A list of availability zones for the orderable cluster.public OrderableClusterOption withAvailabilityZones(AvailabilityZone... availabilityZones)
A list of availability zones for the orderable cluster.
NOTE: This method appends the values to the existing list (if any). Use
setAvailabilityZones(java.util.Collection) or withAvailabilityZones(java.util.Collection) if
you want to override the existing values.
availabilityZones - A list of availability zones for the orderable cluster.public OrderableClusterOption withAvailabilityZones(Collection<AvailabilityZone> availabilityZones)
A list of availability zones for the orderable cluster.
availabilityZones - A list of availability zones for the orderable cluster.public String toString()
toString in class Object Object.toString() public OrderableClusterOption clone()