Interface UpdateMultiRegionClusterRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateMultiRegionClusterRequest.Builder,
,UpdateMultiRegionClusterRequest> MemoryDbRequest.Builder
,SdkBuilder<UpdateMultiRegionClusterRequest.Builder,
,UpdateMultiRegionClusterRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateMultiRegionClusterRequest
@Mutable
@NotThreadSafe
public static interface UpdateMultiRegionClusterRequest.Builder
extends MemoryDbRequest.Builder, SdkPojo, CopyableBuilder<UpdateMultiRegionClusterRequest.Builder,UpdateMultiRegionClusterRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) A new description for the multi-Region cluster.engineVersion
(String engineVersion) The new engine version to be used for the multi-Region cluster.multiRegionClusterName
(String multiRegionClusterName) The name of the multi-Region cluster to be updated.multiRegionParameterGroupName
(String multiRegionParameterGroupName) The new multi-Region parameter group to be associated with the cluster.The new node type to be used for the multi-Region cluster.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.shardConfiguration
(Consumer<ShardConfigurationRequest.Builder> shardConfiguration) Sets the value of the ShardConfiguration property for this object.shardConfiguration
(ShardConfigurationRequest shardConfiguration) Sets the value of the ShardConfiguration property for this object.updateStrategy
(String updateStrategy) The strategy to use for the update operation.updateStrategy
(UpdateStrategy updateStrategy) The strategy to use for the update operation.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.memorydb.model.MemoryDbRequest.Builder
build
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 Details
-
multiRegionClusterName
The name of the multi-Region cluster to be updated.
- Parameters:
multiRegionClusterName
- The name of the multi-Region cluster to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeType
The new node type to be used for the multi-Region cluster.
- Parameters:
nodeType
- The new node type to be used for the multi-Region cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A new description for the multi-Region cluster.
- Parameters:
description
- A new description for the multi-Region cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineVersion
The new engine version to be used for the multi-Region cluster.
- Parameters:
engineVersion
- The new engine version to be used for the multi-Region cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shardConfiguration
UpdateMultiRegionClusterRequest.Builder shardConfiguration(ShardConfigurationRequest shardConfiguration) Sets the value of the ShardConfiguration property for this object.- Parameters:
shardConfiguration
- The new value for the ShardConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shardConfiguration
default UpdateMultiRegionClusterRequest.Builder shardConfiguration(Consumer<ShardConfigurationRequest.Builder> shardConfiguration) Sets the value of the ShardConfiguration property for this object. This is a convenience method that creates an instance of theShardConfigurationRequest.Builder
avoiding the need to create one manually viaShardConfigurationRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toshardConfiguration(ShardConfigurationRequest)
.- Parameters:
shardConfiguration
- a consumer that will call methods onShardConfigurationRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
multiRegionParameterGroupName
UpdateMultiRegionClusterRequest.Builder multiRegionParameterGroupName(String multiRegionParameterGroupName) The new multi-Region parameter group to be associated with the cluster.
- Parameters:
multiRegionParameterGroupName
- The new multi-Region parameter group to be associated with the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateStrategy
The strategy to use for the update operation. Supported values are "coordinated" or "uncoordinated".
- Parameters:
updateStrategy
- The strategy to use for the update operation. Supported values are "coordinated" or "uncoordinated".- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updateStrategy
The strategy to use for the update operation. Supported values are "coordinated" or "uncoordinated".
- Parameters:
updateStrategy
- The strategy to use for the update operation. Supported values are "coordinated" or "uncoordinated".- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateMultiRegionClusterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateMultiRegionClusterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-