Class CfnMultiRegionCluster.Builder
java.lang.Object
software.amazon.awscdk.services.memorydb.CfnMultiRegionCluster.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMultiRegionCluster>
- Enclosing class:
CfnMultiRegionCluster
@Stability(Stable)
public static final class CfnMultiRegionCluster.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMultiRegionCluster>
A fluent builder for
CfnMultiRegionCluster
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
description
(String description) The description of the multi-Region cluster.The name of the engine used by the multi-Region cluster.engineVersion
(String engineVersion) The version of the engine used by 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 associated with the cluster.The node type used by the multi-Region cluster.TBD.A list of tags to be applied to the multi-Region cluster.tlsEnabled
(Boolean tlsEnabled) Indiciates if the multi-Region cluster is TLS enabled.tlsEnabled
(IResolvable tlsEnabled) Indiciates if the multi-Region cluster is TLS enabled.updateStrategy
(String updateStrategy) The strategy to use for the update operation.
-
Method Details
-
create
@Stability(Stable) public static CfnMultiRegionCluster.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnMultiRegionCluster.Builder
.
-
nodeType
The node type used by the multi-Region cluster.- Parameters:
nodeType
- The node type used by the multi-Region cluster. This parameter is required.- Returns:
this
- See Also:
-
description
The description of the multi-Region cluster.- Parameters:
description
- The description of the multi-Region cluster. This parameter is required.- Returns:
this
- See Also:
-
engine
The name of the engine used by the multi-Region cluster.- Parameters:
engine
- The name of the engine used by the multi-Region cluster. This parameter is required.- Returns:
this
- See Also:
-
engineVersion
The version of the engine used by the multi-Region cluster.- Parameters:
engineVersion
- The version of the engine used by the multi-Region cluster. This parameter is required.- Returns:
this
- See Also:
-
multiRegionClusterNameSuffix
@Stability(Stable) public CfnMultiRegionCluster.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. This parameter is required.- Returns:
this
- See Also:
-
multiRegionParameterGroupName
@Stability(Stable) public CfnMultiRegionCluster.Builder multiRegionParameterGroupName(String multiRegionParameterGroupName) The name of the multi-Region parameter group associated with the cluster.- Parameters:
multiRegionParameterGroupName
- The name of the multi-Region parameter group associated with the cluster. This parameter is required.- Returns:
this
- See Also:
-
numShards
TBD.- Parameters:
numShards
- TBD. This parameter is required.- Returns:
this
- See Also:
-
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. This parameter is required.- Returns:
this
- See Also:
-
tlsEnabled
Indiciates if the multi-Region cluster is TLS enabled.- Parameters:
tlsEnabled
- Indiciates if the multi-Region cluster is TLS enabled. This parameter is required.- Returns:
this
- See Also:
-
tlsEnabled
Indiciates if the multi-Region cluster is TLS enabled.- Parameters:
tlsEnabled
- Indiciates if the multi-Region cluster is TLS enabled. This parameter is required.- Returns:
this
- 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. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnMultiRegionCluster>
- Returns:
- a newly built instance of
CfnMultiRegionCluster
.
-