Interface RegionalConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RegionalConfiguration.Builder,
,RegionalConfiguration> SdkBuilder<RegionalConfiguration.Builder,
,RegionalConfiguration> SdkPojo
- Enclosing class:
RegionalConfiguration
public static interface RegionalConfiguration.Builder
extends SdkPojo, CopyableBuilder<RegionalConfiguration.Builder,RegionalConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionreplicationGroupId
(String replicationGroupId) The name of the secondary clusterreplicationGroupRegion
(String replicationGroupRegion) The Amazon region where the cluster is storedreshardingConfiguration
(Collection<ReshardingConfiguration> reshardingConfiguration) A list ofPreferredAvailabilityZones
objects that specifies the configuration of a node group in the resharded cluster.reshardingConfiguration
(Consumer<ReshardingConfiguration.Builder>... reshardingConfiguration) A list ofPreferredAvailabilityZones
objects that specifies the configuration of a node group in the resharded cluster.reshardingConfiguration
(ReshardingConfiguration... reshardingConfiguration) A list ofPreferredAvailabilityZones
objects that specifies the configuration of a node group in the resharded cluster.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
replicationGroupId
The name of the secondary cluster
- Parameters:
replicationGroupId
- The name of the secondary cluster- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationGroupRegion
The Amazon region where the cluster is stored
- Parameters:
replicationGroupRegion
- The Amazon region where the cluster is stored- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reshardingConfiguration
RegionalConfiguration.Builder reshardingConfiguration(Collection<ReshardingConfiguration> reshardingConfiguration) A list of
PreferredAvailabilityZones
objects that specifies the configuration of a node group in the resharded cluster.- Parameters:
reshardingConfiguration
- A list ofPreferredAvailabilityZones
objects that specifies the configuration of a node group in the resharded cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reshardingConfiguration
RegionalConfiguration.Builder reshardingConfiguration(ReshardingConfiguration... reshardingConfiguration) A list of
PreferredAvailabilityZones
objects that specifies the configuration of a node group in the resharded cluster.- Parameters:
reshardingConfiguration
- A list ofPreferredAvailabilityZones
objects that specifies the configuration of a node group in the resharded cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reshardingConfiguration
RegionalConfiguration.Builder reshardingConfiguration(Consumer<ReshardingConfiguration.Builder>... reshardingConfiguration) A list of
This is a convenience method that creates an instance of thePreferredAvailabilityZones
objects that specifies the configuration of a node group in the resharded cluster.ReshardingConfiguration.Builder
avoiding the need to create one manually viaReshardingConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreshardingConfiguration(List<ReshardingConfiguration>)
.- Parameters:
reshardingConfiguration
- a consumer that will call methods onReshardingConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-