Interface CreateMultiRegionClusterRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateMultiRegionClusterRequest.Builder,
,CreateMultiRegionClusterRequest> MemoryDbRequest.Builder
,SdkBuilder<CreateMultiRegionClusterRequest.Builder,
,CreateMultiRegionClusterRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateMultiRegionClusterRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) A description for the multi-Region cluster.The name of the engine to be used for the multi-Region cluster.engineVersion
(String engineVersion) The version of the engine to be used for the multi-Region cluster.multiRegionClusterNameSuffix
(String multiRegionClusterNameSuffix) A suffix to be added to the Multi-Region cluster name.multiRegionParameterGroupName
(String multiRegionParameterGroupName) The name of the multi-Region parameter group to be associated with the cluster.The node type to be used for the multi-Region cluster.The number of shards 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.tags
(Collection<Tag> tags) A list of tags to be applied to the multi-Region cluster.tags
(Consumer<Tag.Builder>... tags) A list of tags to be applied to the multi-Region cluster.A list of tags to be applied to the multi-Region cluster.tlsEnabled
(Boolean tlsEnabled) Whether to enable TLS encryption for the multi-Region cluster.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
-
multiRegionClusterNameSuffix
CreateMultiRegionClusterRequest.Builder multiRegionClusterNameSuffix(String multiRegionClusterNameSuffix) A suffix to be added to the Multi-Region cluster name. Amazon MemoryDB automatically applies a prefix to the Multi-Region cluster Name when it is created. Each Amazon Region has its own prefix. For instance, a Multi-Region cluster Name created in the US-West-1 region will begin with "virxk", along with the suffix name you provide. The suffix guarantees uniqueness of the Multi-Region cluster name across multiple regions.
- Parameters:
multiRegionClusterNameSuffix
- A suffix to be added to the Multi-Region cluster name. Amazon MemoryDB automatically applies a prefix to the Multi-Region cluster Name when it is created. Each Amazon Region has its own prefix. For instance, a Multi-Region cluster Name created in the US-West-1 region will begin with "virxk", along with the suffix name you provide. The suffix guarantees uniqueness of the Multi-Region cluster name across multiple regions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description for the multi-Region cluster.
- Parameters:
description
- A description for the multi-Region cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engine
The name of the engine to be used for the multi-Region cluster.
- Parameters:
engine
- The name of the engine to be used for the multi-Region cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineVersion
The version of the engine to be used for the multi-Region cluster.
- Parameters:
engineVersion
- The version of the engine to be used for the multi-Region cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeType
The node type to be used for the multi-Region cluster.
- Parameters:
nodeType
- The 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.
-
multiRegionParameterGroupName
CreateMultiRegionClusterRequest.Builder multiRegionParameterGroupName(String multiRegionParameterGroupName) The name of the multi-Region parameter group to be associated with the cluster.
- Parameters:
multiRegionParameterGroupName
- The name of the 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.
-
numShards
The number of shards for the multi-Region cluster.
- Parameters:
numShards
- The number of shards for the multi-Region cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tlsEnabled
Whether to enable TLS encryption for the multi-Region cluster.
- Parameters:
tlsEnabled
- Whether to enable TLS encryption for the multi-Region cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags to be applied to the multi-Region cluster.
- Parameters:
tags
- A list of tags to be applied to the multi-Region cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags to be applied to the multi-Region cluster.
- Parameters:
tags
- A list of tags to be applied to the multi-Region cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags to be applied to the multi-Region cluster.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateMultiRegionClusterRequest.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
CreateMultiRegionClusterRequest.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.
-