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 ofPreferredAvailabilityZonesobjects that specifies the configuration of a node group in the resharded cluster.reshardingConfiguration(Consumer<ReshardingConfiguration.Builder>... reshardingConfiguration) A list ofPreferredAvailabilityZonesobjects that specifies the configuration of a node group in the resharded cluster.reshardingConfiguration(ReshardingConfiguration... reshardingConfiguration) A list ofPreferredAvailabilityZonesobjects that specifies the configuration of a node group in the resharded 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
-
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
PreferredAvailabilityZonesobjects that specifies the configuration of a node group in the resharded cluster.- Parameters:
reshardingConfiguration- A list ofPreferredAvailabilityZonesobjects 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
PreferredAvailabilityZonesobjects that specifies the configuration of a node group in the resharded cluster.- Parameters:
reshardingConfiguration- A list ofPreferredAvailabilityZonesobjects 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 thePreferredAvailabilityZonesobjects that specifies the configuration of a node group in the resharded cluster.ReshardingConfiguration.Builderavoiding the need to create one manually viaReshardingConfiguration.builder().When the
Consumercompletes,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:
-