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.BuilderreplicationGroupId(String replicationGroupId)The name of the secondary clusterRegionalConfiguration.BuilderreplicationGroupRegion(String replicationGroupRegion)The Amazon region where the cluster is storedRegionalConfiguration.BuilderreshardingConfiguration(Collection<ReshardingConfiguration> reshardingConfiguration)A list ofPreferredAvailabilityZonesobjects that specifies the configuration of a node group in the resharded cluster.RegionalConfiguration.BuilderreshardingConfiguration(Consumer<ReshardingConfiguration.Builder>... reshardingConfiguration)A list ofPreferredAvailabilityZonesobjects that specifies the configuration of a node group in the resharded cluster.RegionalConfiguration.BuilderreshardingConfiguration(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
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
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 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)
-
-