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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RegionalConfiguration.Builder
replicationGroupId(String replicationGroupId)
The name of the secondary clusterRegionalConfiguration.Builder
replicationGroupRegion(String replicationGroupRegion)
The Amazon region where the cluster is storedRegionalConfiguration.Builder
reshardingConfiguration(Collection<ReshardingConfiguration> reshardingConfiguration)
A list ofPreferredAvailabilityZones
objects that specifies the configuration of a node group in the resharded cluster.RegionalConfiguration.Builder
reshardingConfiguration(Consumer<ReshardingConfiguration.Builder>... reshardingConfiguration)
A list ofPreferredAvailabilityZones
objects that specifies the configuration of a node group in the resharded cluster.RegionalConfiguration.Builder
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
replicationGroupId
RegionalConfiguration.Builder replicationGroupId(String 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
RegionalConfiguration.Builder replicationGroupRegion(String 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 to#reshardingConfiguration(List
.) - 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:
#reshardingConfiguration(java.util.Collection
)
-
-