Class CfnGlobalReplicationGroupPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.elasticache.CfnGlobalReplicationGroupPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGlobalReplicationGroupPropsMixin>
- Enclosing class:
CfnGlobalReplicationGroupPropsMixin
@Stability(Stable)
public static final class CfnGlobalReplicationGroupPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGlobalReplicationGroupPropsMixin>
A fluent builder for
CfnGlobalReplicationGroupPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionautomaticFailoverEnabled(Boolean automaticFailoverEnabled) Specifies whether a read-only replica is automatically promoted to read/write primary if the existing primary fails.automaticFailoverEnabled(IResolvable automaticFailoverEnabled) Specifies whether a read-only replica is automatically promoted to read/write primary if the existing primary fails.build()cacheNodeType(String cacheNodeType) The cache node type of the Global datastore.cacheParameterGroupName(String cacheParameterGroupName) The name of the cache parameter group to use with the Global datastore.create()create(CfnPropertyMixinOptions options) The ElastiCache engine.engineVersion(String engineVersion) The Elasticache Valkey or Redis OSS engine version.globalNodeGroupCount(Number globalNodeGroupCount) The number of node groups that comprise the Global Datastore.globalReplicationGroupDescription(String globalReplicationGroupDescription) The optional description of the Global datastore.globalReplicationGroupIdSuffix(String globalReplicationGroupIdSuffix) The suffix name of a Global Datastore.The replication groups that comprise the Global datastore.members(IResolvable members) The replication groups that comprise the Global datastore.regionalConfigurations(List<? extends Object> regionalConfigurations) The Regions that comprise the Global Datastore.regionalConfigurations(IResolvable regionalConfigurations) The Regions that comprise the Global Datastore.
-
Method Details
-
create
@Stability(Stable) public static CfnGlobalReplicationGroupPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnGlobalReplicationGroupPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnGlobalReplicationGroupPropsMixin.Builder.
-
automaticFailoverEnabled
@Stability(Stable) public CfnGlobalReplicationGroupPropsMixin.Builder automaticFailoverEnabled(Boolean automaticFailoverEnabled) Specifies whether a read-only replica is automatically promoted to read/write primary if the existing primary fails.AutomaticFailoverEnabledmust be enabled for Valkey or Redis OSS (cluster mode enabled) replication groups.- Parameters:
automaticFailoverEnabled- Specifies whether a read-only replica is automatically promoted to read/write primary if the existing primary fails. This parameter is required.- Returns:
this- See Also:
-
automaticFailoverEnabled
@Stability(Stable) public CfnGlobalReplicationGroupPropsMixin.Builder automaticFailoverEnabled(IResolvable automaticFailoverEnabled) Specifies whether a read-only replica is automatically promoted to read/write primary if the existing primary fails.AutomaticFailoverEnabledmust be enabled for Valkey or Redis OSS (cluster mode enabled) replication groups.- Parameters:
automaticFailoverEnabled- Specifies whether a read-only replica is automatically promoted to read/write primary if the existing primary fails. This parameter is required.- Returns:
this- See Also:
-
cacheNodeType
@Stability(Stable) public CfnGlobalReplicationGroupPropsMixin.Builder cacheNodeType(String cacheNodeType) The cache node type of the Global datastore.- Parameters:
cacheNodeType- The cache node type of the Global datastore. This parameter is required.- Returns:
this- See Also:
-
cacheParameterGroupName
@Stability(Stable) public CfnGlobalReplicationGroupPropsMixin.Builder cacheParameterGroupName(String cacheParameterGroupName) The name of the cache parameter group to use with the Global datastore.It must be compatible with the major engine version used by the Global datastore.
- Parameters:
cacheParameterGroupName- The name of the cache parameter group to use with the Global datastore. This parameter is required.- Returns:
this- See Also:
-
engine
The ElastiCache engine.For Valkey or Redis OSS only.
- Parameters:
engine- The ElastiCache engine. This parameter is required.- Returns:
this- See Also:
-
engineVersion
@Stability(Stable) public CfnGlobalReplicationGroupPropsMixin.Builder engineVersion(String engineVersion) The Elasticache Valkey or Redis OSS engine version.- Parameters:
engineVersion- The Elasticache Valkey or Redis OSS engine version. This parameter is required.- Returns:
this- See Also:
-
globalNodeGroupCount
@Stability(Stable) public CfnGlobalReplicationGroupPropsMixin.Builder globalNodeGroupCount(Number globalNodeGroupCount) The number of node groups that comprise the Global Datastore.- Parameters:
globalNodeGroupCount- The number of node groups that comprise the Global Datastore. This parameter is required.- Returns:
this- See Also:
-
globalReplicationGroupDescription
@Stability(Stable) public CfnGlobalReplicationGroupPropsMixin.Builder globalReplicationGroupDescription(String globalReplicationGroupDescription) The optional description of the Global datastore.- Parameters:
globalReplicationGroupDescription- The optional description of the Global datastore. This parameter is required.- Returns:
this- See Also:
-
globalReplicationGroupIdSuffix
@Stability(Stable) public CfnGlobalReplicationGroupPropsMixin.Builder globalReplicationGroupIdSuffix(String globalReplicationGroupIdSuffix) The suffix name of a Global Datastore.The suffix guarantees uniqueness of the Global Datastore name across multiple regions.
- Parameters:
globalReplicationGroupIdSuffix- The suffix name of a Global Datastore. This parameter is required.- Returns:
this- See Also:
-
members
The replication groups that comprise the Global datastore.- Parameters:
members- The replication groups that comprise the Global datastore. This parameter is required.- Returns:
this- See Also:
-
members
@Stability(Stable) public CfnGlobalReplicationGroupPropsMixin.Builder members(List<? extends Object> members) The replication groups that comprise the Global datastore.- Parameters:
members- The replication groups that comprise the Global datastore. This parameter is required.- Returns:
this- See Also:
-
regionalConfigurations
@Stability(Stable) public CfnGlobalReplicationGroupPropsMixin.Builder regionalConfigurations(IResolvable regionalConfigurations) The Regions that comprise the Global Datastore.- Parameters:
regionalConfigurations- The Regions that comprise the Global Datastore. This parameter is required.- Returns:
this- See Also:
-
regionalConfigurations
@Stability(Stable) public CfnGlobalReplicationGroupPropsMixin.Builder regionalConfigurations(List<? extends Object> regionalConfigurations) The Regions that comprise the Global Datastore.- Parameters:
regionalConfigurations- The Regions that comprise the Global Datastore. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGlobalReplicationGroupPropsMixin>- Returns:
- a newly built instance of
CfnGlobalReplicationGroupPropsMixin.
-