@Stability(value=Stable) public static final class CfnGlobalReplicationGroup.Builder extends Object implements software.amazon.jsii.Builder<CfnGlobalReplicationGroup>
CfnGlobalReplicationGroup.| Modifier and Type | Method and Description |
|---|---|
CfnGlobalReplicationGroup.Builder |
automaticFailoverEnabled(Boolean automaticFailoverEnabled)
Specifies whether a read-only replica is automatically promoted to read/write primary if the existing primary fails.
|
CfnGlobalReplicationGroup.Builder |
automaticFailoverEnabled(IResolvable automaticFailoverEnabled)
Specifies whether a read-only replica is automatically promoted to read/write primary if the existing primary fails.
|
CfnGlobalReplicationGroup |
build() |
CfnGlobalReplicationGroup.Builder |
cacheNodeType(String cacheNodeType)
The cache node type of the Global datastore.
|
CfnGlobalReplicationGroup.Builder |
cacheParameterGroupName(String cacheParameterGroupName)
The name of the cache parameter group to use with the Global datastore.
|
static CfnGlobalReplicationGroup.Builder |
create(software.constructs.Construct scope,
String id) |
CfnGlobalReplicationGroup.Builder |
engineVersion(String engineVersion)
The Elasticache Redis engine version.
|
CfnGlobalReplicationGroup.Builder |
globalNodeGroupCount(Number globalNodeGroupCount)
The number of node groups that comprise the Global Datastore.
|
CfnGlobalReplicationGroup.Builder |
globalReplicationGroupDescription(String globalReplicationGroupDescription)
The optional description of the Global datastore.
|
CfnGlobalReplicationGroup.Builder |
globalReplicationGroupIdSuffix(String globalReplicationGroupIdSuffix)
The suffix name of a Global Datastore.
|
CfnGlobalReplicationGroup.Builder |
members(IResolvable members)
The replication groups that comprise the Global datastore.
|
CfnGlobalReplicationGroup.Builder |
members(List<? extends Object> members)
The replication groups that comprise the Global datastore.
|
CfnGlobalReplicationGroup.Builder |
regionalConfigurations(IResolvable regionalConfigurations)
The Amazon Regions that comprise the Global Datastore.
|
CfnGlobalReplicationGroup.Builder |
regionalConfigurations(List<? extends Object> regionalConfigurations)
The Amazon Regions that comprise the Global Datastore.
|
@Stability(value=Stable) public static CfnGlobalReplicationGroup.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnGlobalReplicationGroup.GlobalReplicationGroupMemberProperty.Builder.@Stability(value=Stable) public CfnGlobalReplicationGroup.Builder members(IResolvable members)
members - The replication groups that comprise the Global datastore. This parameter is required.this@Stability(value=Stable) public CfnGlobalReplicationGroup.Builder members(List<? extends Object> members)
members - The replication groups that comprise the Global datastore. This parameter is required.this@Stability(value=Stable) public CfnGlobalReplicationGroup.Builder automaticFailoverEnabled(Boolean automaticFailoverEnabled)
AutomaticFailoverEnabled must be enabled for Redis (cluster mode enabled) replication groups.
automaticFailoverEnabled - Specifies whether a read-only replica is automatically promoted to read/write primary if the existing primary fails. This parameter is required.this@Stability(value=Stable) public CfnGlobalReplicationGroup.Builder automaticFailoverEnabled(IResolvable automaticFailoverEnabled)
AutomaticFailoverEnabled must be enabled for Redis (cluster mode enabled) replication groups.
automaticFailoverEnabled - Specifies whether a read-only replica is automatically promoted to read/write primary if the existing primary fails. This parameter is required.this@Stability(value=Stable) public CfnGlobalReplicationGroup.Builder cacheNodeType(String cacheNodeType)
cacheNodeType - The cache node type of the Global datastore. This parameter is required.this@Stability(value=Stable) public CfnGlobalReplicationGroup.Builder cacheParameterGroupName(String cacheParameterGroupName)
It must be compatible with the major engine version used by the Global datastore.
cacheParameterGroupName - The name of the cache parameter group to use with the Global datastore. This parameter is required.this@Stability(value=Stable) public CfnGlobalReplicationGroup.Builder engineVersion(String engineVersion)
engineVersion - The Elasticache Redis engine version. This parameter is required.this@Stability(value=Stable) public CfnGlobalReplicationGroup.Builder globalNodeGroupCount(Number globalNodeGroupCount)
globalNodeGroupCount - The number of node groups that comprise the Global Datastore. This parameter is required.this@Stability(value=Stable) public CfnGlobalReplicationGroup.Builder globalReplicationGroupDescription(String globalReplicationGroupDescription)
globalReplicationGroupDescription - The optional description of the Global datastore. This parameter is required.this@Stability(value=Stable) public CfnGlobalReplicationGroup.Builder globalReplicationGroupIdSuffix(String globalReplicationGroupIdSuffix)
The suffix guarantees uniqueness of the Global Datastore name across multiple regions.
globalReplicationGroupIdSuffix - The suffix name of a Global Datastore. This parameter is required.this@Stability(value=Stable) public CfnGlobalReplicationGroup.Builder regionalConfigurations(IResolvable regionalConfigurations)
regionalConfigurations - The Amazon Regions that comprise the Global Datastore. This parameter is required.this@Stability(value=Stable) public CfnGlobalReplicationGroup.Builder regionalConfigurations(List<? extends Object> regionalConfigurations)
regionalConfigurations - The Amazon Regions that comprise the Global Datastore. This parameter is required.this@Stability(value=Stable) public CfnGlobalReplicationGroup build()
build in interface software.amazon.jsii.Builder<CfnGlobalReplicationGroup>Copyright © 2022. All rights reserved.