Class CfnMultiRegionClusterMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.memorydb.CfnMultiRegionClusterMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMultiRegionClusterMixinProps>
- Enclosing interface:
CfnMultiRegionClusterMixinProps
@Stability(Stable)
public static final class CfnMultiRegionClusterMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMultiRegionClusterMixinProps>
A builder for
CfnMultiRegionClusterMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnMultiRegionClusterMixinProps.getDescription()Sets the value ofCfnMultiRegionClusterMixinProps.getEngine()engineVersion(String engineVersion) Sets the value ofCfnMultiRegionClusterMixinProps.getEngineVersion()multiRegionClusterNameSuffix(String multiRegionClusterNameSuffix) Sets the value ofCfnMultiRegionClusterMixinProps.getMultiRegionClusterNameSuffix()multiRegionParameterGroupName(String multiRegionParameterGroupName) Sets the value ofCfnMultiRegionClusterMixinProps.getMultiRegionParameterGroupName()Sets the value ofCfnMultiRegionClusterMixinProps.getNodeType()Sets the value ofCfnMultiRegionClusterMixinProps.getNumShards()Sets the value ofCfnMultiRegionClusterMixinProps.getTags()tlsEnabled(Boolean tlsEnabled) Sets the value ofCfnMultiRegionClusterMixinProps.getTlsEnabled()tlsEnabled(IResolvable tlsEnabled) Sets the value ofCfnMultiRegionClusterMixinProps.getTlsEnabled()updateStrategy(String updateStrategy) Sets the value ofCfnMultiRegionClusterMixinProps.getUpdateStrategy()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnMultiRegionClusterMixinProps.getDescription()- Parameters:
description- The description of the multi-Region cluster.- Returns:
this
-
engine
Sets the value ofCfnMultiRegionClusterMixinProps.getEngine()- Parameters:
engine- The name of the engine used by the multi-Region cluster.- Returns:
this
-
engineVersion
@Stability(Stable) public CfnMultiRegionClusterMixinProps.Builder engineVersion(String engineVersion) Sets the value ofCfnMultiRegionClusterMixinProps.getEngineVersion()- Parameters:
engineVersion- The version of the engine used by the multi-Region cluster.- Returns:
this
-
multiRegionClusterNameSuffix
@Stability(Stable) public CfnMultiRegionClusterMixinProps.Builder multiRegionClusterNameSuffix(String multiRegionClusterNameSuffix) Sets the value ofCfnMultiRegionClusterMixinProps.getMultiRegionClusterNameSuffix()- 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:
this
-
multiRegionParameterGroupName
@Stability(Stable) public CfnMultiRegionClusterMixinProps.Builder multiRegionParameterGroupName(String multiRegionParameterGroupName) Sets the value ofCfnMultiRegionClusterMixinProps.getMultiRegionParameterGroupName()- Parameters:
multiRegionParameterGroupName- The name of the multi-Region parameter group associated with the cluster.- Returns:
this
-
nodeType
Sets the value ofCfnMultiRegionClusterMixinProps.getNodeType()- Parameters:
nodeType- The node type used by the multi-Region cluster.- Returns:
this
-
numShards
Sets the value ofCfnMultiRegionClusterMixinProps.getNumShards()- Parameters:
numShards- The number of shards in the multi-Region cluster.- Returns:
this
-
tags
Sets the value ofCfnMultiRegionClusterMixinProps.getTags()- Parameters:
tags- A list of tags to be applied to the multi-Region cluster.- Returns:
this
-
tlsEnabled
Sets the value ofCfnMultiRegionClusterMixinProps.getTlsEnabled()- Parameters:
tlsEnabled- Indiciates if the multi-Region cluster is TLS enabled.- Returns:
this
-
tlsEnabled
@Stability(Stable) public CfnMultiRegionClusterMixinProps.Builder tlsEnabled(IResolvable tlsEnabled) Sets the value ofCfnMultiRegionClusterMixinProps.getTlsEnabled()- Parameters:
tlsEnabled- Indiciates if the multi-Region cluster is TLS enabled.- Returns:
this
-
updateStrategy
@Stability(Stable) public CfnMultiRegionClusterMixinProps.Builder updateStrategy(String updateStrategy) Sets the value ofCfnMultiRegionClusterMixinProps.getUpdateStrategy()- Parameters:
updateStrategy- The strategy to use for the update operation. Supported values are "coordinated" or "uncoordinated".- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMultiRegionClusterMixinProps>- Returns:
- a new instance of
CfnMultiRegionClusterMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-