public class OrderableClusterOption extends Object implements Serializable
Describes an orderable cluster option.
Constructor and Description |
---|
OrderableClusterOption() |
Modifier and Type | Method and Description |
---|---|
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; useful for testing and
debugging.
|
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 String getClusterVersion()
public void setClusterVersion(String clusterVersion)
clusterVersion
- The version of the orderable cluster.public OrderableClusterOption withClusterVersion(String clusterVersion)
Returns a reference to this object so that method calls can be chained together.
clusterVersion
- The version of the orderable cluster.public String getClusterType()
multi-node
.multi-node
.public void setClusterType(String clusterType)
multi-node
.clusterType
- The cluster type, for example multi-node
.public OrderableClusterOption withClusterType(String clusterType)
multi-node
.
Returns a reference to this object so that method calls can be chained together.
clusterType
- The cluster type, for example multi-node
.public String getNodeType()
public void setNodeType(String nodeType)
nodeType
- The node type for the orderable cluster.public OrderableClusterOption withNodeType(String nodeType)
Returns a reference to this object so that method calls can be chained together.
nodeType
- The node type for the orderable cluster.public List<AvailabilityZone> getAvailabilityZones()
public void setAvailabilityZones(Collection<AvailabilityZone> availabilityZones)
availabilityZones
- A list of availability zones for the orderable cluster.public OrderableClusterOption withAvailabilityZones(AvailabilityZone... availabilityZones)
Returns a reference to this object so that method calls can be chained together.
availabilityZones
- A list of availability zones for the orderable cluster.public OrderableClusterOption withAvailabilityZones(Collection<AvailabilityZone> availabilityZones)
Returns a reference to this object so that method calls can be chained together.
availabilityZones
- A list of availability zones for the orderable cluster.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.