Interface UpdateMultiRegionClusterRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateMultiRegionClusterRequest.Builder,UpdateMultiRegionClusterRequest>,MemoryDbRequest.Builder,SdkBuilder<UpdateMultiRegionClusterRequest.Builder,UpdateMultiRegionClusterRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateMultiRegionClusterRequest
public static interface UpdateMultiRegionClusterRequest.Builder extends MemoryDbRequest.Builder, SdkPojo, CopyableBuilder<UpdateMultiRegionClusterRequest.Builder,UpdateMultiRegionClusterRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateMultiRegionClusterRequest.Builderdescription(String description)A new description for the multi-Region cluster.UpdateMultiRegionClusterRequest.BuilderengineVersion(String engineVersion)The new engine version to be used for the multi-Region cluster.UpdateMultiRegionClusterRequest.BuildermultiRegionClusterName(String multiRegionClusterName)The name of the multi-Region cluster to be updated.UpdateMultiRegionClusterRequest.BuildermultiRegionParameterGroupName(String multiRegionParameterGroupName)The new multi-Region parameter group to be associated with the cluster.UpdateMultiRegionClusterRequest.BuildernodeType(String nodeType)The new node type to be used for the multi-Region cluster.UpdateMultiRegionClusterRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateMultiRegionClusterRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default UpdateMultiRegionClusterRequest.BuildershardConfiguration(Consumer<ShardConfigurationRequest.Builder> shardConfiguration)Sets the value of the ShardConfiguration property for this object.UpdateMultiRegionClusterRequest.BuildershardConfiguration(ShardConfigurationRequest shardConfiguration)Sets the value of the ShardConfiguration property for this object.UpdateMultiRegionClusterRequest.BuilderupdateStrategy(String updateStrategy)Whether to force the update even if it may cause data loss.UpdateMultiRegionClusterRequest.BuilderupdateStrategy(UpdateStrategy updateStrategy)Whether to force the update even if it may cause data loss.-
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 Detail
-
multiRegionClusterName
UpdateMultiRegionClusterRequest.Builder multiRegionClusterName(String 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
UpdateMultiRegionClusterRequest.Builder nodeType(String 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
UpdateMultiRegionClusterRequest.Builder description(String 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
UpdateMultiRegionClusterRequest.Builder engineVersion(String 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.Builderavoiding the need to create one manually viaShardConfigurationRequest.builder().When the
Consumercompletes,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:
shardConfiguration(ShardConfigurationRequest)
-
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
UpdateMultiRegionClusterRequest.Builder updateStrategy(String updateStrategy)
Whether to force the update even if it may cause data loss.
- Parameters:
updateStrategy- Whether to force the update even if it may cause data loss.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
UpdateStrategy,UpdateStrategy
-
updateStrategy
UpdateMultiRegionClusterRequest.Builder updateStrategy(UpdateStrategy updateStrategy)
Whether to force the update even if it may cause data loss.
- Parameters:
updateStrategy- Whether to force the update even if it may cause data loss.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
UpdateStrategy,UpdateStrategy
-
overrideConfiguration
UpdateMultiRegionClusterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateMultiRegionClusterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-