public class OrderableClusterOption
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes an orderable cluster option.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<AvailabilityZone> |
availabilityZones
A list of availability zones for the orderable cluster.
|
private java.lang.String |
clusterType
The cluster type, for example
multi-node . |
private java.lang.String |
clusterVersion
The version of the orderable cluster.
|
private java.lang.String |
nodeType
The node type for the orderable cluster.
|
Constructor and Description |
---|
OrderableClusterOption() |
Modifier and Type | Method and Description |
---|---|
OrderableClusterOption |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<AvailabilityZone> |
getAvailabilityZones()
A list of availability zones for the orderable cluster.
|
java.lang.String |
getClusterType()
The cluster type, for example
multi-node . |
java.lang.String |
getClusterVersion()
The version of the orderable cluster.
|
java.lang.String |
getNodeType()
The node type for the orderable cluster.
|
int |
hashCode() |
void |
setAvailabilityZones(java.util.Collection<AvailabilityZone> availabilityZones)
A list of availability zones for the orderable cluster.
|
void |
setClusterType(java.lang.String clusterType)
The cluster type, for example
multi-node . |
void |
setClusterVersion(java.lang.String clusterVersion)
The version of the orderable cluster.
|
void |
setNodeType(java.lang.String nodeType)
The node type for the orderable cluster.
|
java.lang.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(java.util.Collection<AvailabilityZone> availabilityZones)
A list of availability zones for the orderable cluster.
|
OrderableClusterOption |
withClusterType(java.lang.String clusterType)
The cluster type, for example
multi-node . |
OrderableClusterOption |
withClusterVersion(java.lang.String clusterVersion)
The version of the orderable cluster.
|
OrderableClusterOption |
withNodeType(java.lang.String nodeType)
The node type for the orderable cluster.
|
private java.lang.String clusterVersion
The version of the orderable cluster.
private java.lang.String clusterType
The cluster type, for example multi-node
.
private java.lang.String nodeType
The node type for the orderable cluster.
private SdkInternalList<AvailabilityZone> availabilityZones
A list of availability zones for the orderable cluster.
public void setClusterVersion(java.lang.String clusterVersion)
The version of the orderable cluster.
clusterVersion
- The version of the orderable cluster.public java.lang.String getClusterVersion()
The version of the orderable cluster.
public OrderableClusterOption withClusterVersion(java.lang.String clusterVersion)
The version of the orderable cluster.
clusterVersion
- The version of the orderable cluster.public void setClusterType(java.lang.String clusterType)
The cluster type, for example multi-node
.
clusterType
- The cluster type, for example multi-node
.public java.lang.String getClusterType()
The cluster type, for example multi-node
.
multi-node
.public OrderableClusterOption withClusterType(java.lang.String clusterType)
The cluster type, for example multi-node
.
clusterType
- The cluster type, for example multi-node
.public void setNodeType(java.lang.String nodeType)
The node type for the orderable cluster.
nodeType
- The node type for the orderable cluster.public java.lang.String getNodeType()
The node type for the orderable cluster.
public OrderableClusterOption withNodeType(java.lang.String nodeType)
The node type for the orderable cluster.
nodeType
- The node type for the orderable cluster.public java.util.List<AvailabilityZone> getAvailabilityZones()
A list of availability zones for the orderable cluster.
public void setAvailabilityZones(java.util.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(java.util.Collection<AvailabilityZone> availabilityZones)
A list of availability zones for the orderable cluster.
availabilityZones
- A list of availability zones for the orderable cluster.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public OrderableClusterOption clone()
clone
in class java.lang.Object