Class OrderableClusterOption
- All Implemented Interfaces:
Serializable
,Cloneable
Describes an orderable cluster option.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A list of availability zones for the orderable cluster.The cluster type, for examplemulti-node
.The version of the orderable cluster.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 examplemulti-node
.void
setClusterVersion
(String clusterVersion) The version of the orderable cluster.void
setNodeType
(String nodeType) The node type for the orderable cluster.toString()
Returns a string representation of this object; useful for testing and debugging.withAvailabilityZones
(AvailabilityZone... availabilityZones) A list of availability zones for the orderable cluster.withAvailabilityZones
(Collection<AvailabilityZone> availabilityZones) A list of availability zones for the orderable cluster.withClusterType
(String clusterType) The cluster type, for examplemulti-node
.withClusterVersion
(String clusterVersion) The version of the orderable cluster.withNodeType
(String nodeType) The node type for the orderable cluster.
-
Constructor Details
-
OrderableClusterOption
public OrderableClusterOption()
-
-
Method Details
-
setClusterVersion
The version of the orderable cluster.
- Parameters:
clusterVersion
- The version of the orderable cluster.
-
getClusterVersion
The version of the orderable cluster.
- Returns:
- The version of the orderable cluster.
-
withClusterVersion
The version of the orderable cluster.
- Parameters:
clusterVersion
- The version of the orderable cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setClusterType
The cluster type, for example
multi-node
.- Parameters:
clusterType
- The cluster type, for examplemulti-node
.
-
getClusterType
The cluster type, for example
multi-node
.- Returns:
- The cluster type, for example
multi-node
.
-
withClusterType
The cluster type, for example
multi-node
.- Parameters:
clusterType
- The cluster type, for examplemulti-node
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNodeType
The node type for the orderable cluster.
- Parameters:
nodeType
- The node type for the orderable cluster.
-
getNodeType
The node type for the orderable cluster.
- Returns:
- The node type for the orderable cluster.
-
withNodeType
The node type for the orderable cluster.
- Parameters:
nodeType
- The node type for the orderable cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getAvailabilityZones
A list of availability zones for the orderable cluster.
- Returns:
- A list of availability zones for the orderable cluster.
-
setAvailabilityZones
A list of availability zones for the orderable cluster.
- Parameters:
availabilityZones
- A list of availability zones for the orderable cluster.
-
withAvailabilityZones
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)
orwithAvailabilityZones(java.util.Collection)
if you want to override the existing values.- Parameters:
availabilityZones
- A list of availability zones for the orderable cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAvailabilityZones
A list of availability zones for the orderable cluster.
- Parameters:
availabilityZones
- A list of availability zones for the orderable cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-