public static final class CfnGlobalCluster.Builder
extends java.lang.Object
CfnGlobalCluster
.Modifier and Type | Method and Description |
---|---|
CfnGlobalCluster |
build() |
static CfnGlobalCluster.Builder |
create(Construct scope,
java.lang.String id) |
CfnGlobalCluster.Builder |
deletionProtection(java.lang.Boolean deletionProtection)
The deletion protection setting for the new global database.
|
CfnGlobalCluster.Builder |
deletionProtection(IResolvable deletionProtection)
The deletion protection setting for the new global database.
|
CfnGlobalCluster.Builder |
engine(java.lang.String engine)
The name of the database engine to be used for this DB cluster.
|
CfnGlobalCluster.Builder |
engineVersion(java.lang.String engineVersion)
The engine version of the Aurora global database.
|
CfnGlobalCluster.Builder |
globalClusterIdentifier(java.lang.String globalClusterIdentifier)
The cluster identifier of the global database cluster.
|
CfnGlobalCluster.Builder |
sourceDbClusterIdentifier(java.lang.String sourceDbClusterIdentifier)
The DB cluster identifier or Amazon Resource Name (ARN) to use as the primary cluster of the global database.
|
CfnGlobalCluster.Builder |
storageEncrypted(java.lang.Boolean storageEncrypted)
The storage encryption setting for the global database cluster.
|
CfnGlobalCluster.Builder |
storageEncrypted(IResolvable storageEncrypted)
The storage encryption setting for the global database cluster.
|
public static CfnGlobalCluster.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnGlobalCluster.Builder
.public CfnGlobalCluster.Builder deletionProtection(java.lang.Boolean deletionProtection)
The global database can't be deleted when deletion protection is enabled.
deletionProtection
- The deletion protection setting for the new global database. This parameter is required.this
public CfnGlobalCluster.Builder deletionProtection(IResolvable deletionProtection)
The global database can't be deleted when deletion protection is enabled.
deletionProtection
- The deletion protection setting for the new global database. This parameter is required.this
public CfnGlobalCluster.Builder engine(java.lang.String engine)
If this property isn't specified, the database engine is derived from the source DB cluster specified by the SourceDBClusterIdentifier
property.
If the
SourceDBClusterIdentifier
property isn't specified, this property is required. If theSourceDBClusterIdentifier
property is specified, make sure this property isn't specified.
engine
- The name of the database engine to be used for this DB cluster. This parameter is required.this
public CfnGlobalCluster.Builder engineVersion(java.lang.String engineVersion)
engineVersion
- The engine version of the Aurora global database. This parameter is required.this
public CfnGlobalCluster.Builder globalClusterIdentifier(java.lang.String globalClusterIdentifier)
globalClusterIdentifier
- The cluster identifier of the global database cluster. This parameter is required.this
public CfnGlobalCluster.Builder sourceDbClusterIdentifier(java.lang.String sourceDbClusterIdentifier)
If the
Engine
property isn't specified, this property is required. If theEngine
property is specified, make sure this property isn't specified.
sourceDbClusterIdentifier
- The DB cluster identifier or Amazon Resource Name (ARN) to use as the primary cluster of the global database. This parameter is required.this
public CfnGlobalCluster.Builder storageEncrypted(java.lang.Boolean storageEncrypted)
storageEncrypted
- The storage encryption setting for the global database cluster. This parameter is required.this
public CfnGlobalCluster.Builder storageEncrypted(IResolvable storageEncrypted)
storageEncrypted
- The storage encryption setting for the global database cluster. This parameter is required.this
public CfnGlobalCluster build()