Interface OrderableClusterOption.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OrderableClusterOption.Builder,,OrderableClusterOption> SdkBuilder<OrderableClusterOption.Builder,,OrderableClusterOption> SdkPojo
- Enclosing class:
OrderableClusterOption
public static interface OrderableClusterOption.Builder
extends SdkPojo, CopyableBuilder<OrderableClusterOption.Builder,OrderableClusterOption>
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZones(Collection<AvailabilityZone> availabilityZones) A list of availability zones for the orderable cluster.availabilityZones(Consumer<AvailabilityZone.Builder>... availabilityZones) A list of availability zones for the orderable cluster.availabilityZones(AvailabilityZone... availabilityZones) A list of availability zones for the orderable cluster.clusterType(String clusterType) The cluster type, for examplemulti-node.clusterVersion(String clusterVersion) The version of the orderable cluster.The node type for the orderable cluster.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
clusterVersion
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.
-
clusterType
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.
-
nodeType
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.
-
availabilityZones
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.
-
availabilityZones
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.
-
availabilityZones
OrderableClusterOption.Builder availabilityZones(Consumer<AvailabilityZone.Builder>... availabilityZones) A list of availability zones for the orderable cluster.
This is a convenience method that creates an instance of theAvailabilityZone.Builderavoiding the need to create one manually viaAvailabilityZone.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toavailabilityZones(List<AvailabilityZone>).- Parameters:
availabilityZones- a consumer that will call methods onAvailabilityZone.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-