Class CfnGlobalClusterPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.docdb.CfnGlobalClusterPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGlobalClusterPropsMixin>
- Enclosing class:
CfnGlobalClusterPropsMixin
@Stability(Stable)
public static final class CfnGlobalClusterPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGlobalClusterPropsMixin>
A fluent builder for
CfnGlobalClusterPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) deletionProtection(Boolean deletionProtection) Indicates whether the global cluster has deletion protection enabled.deletionProtection(IResolvable deletionProtection) Indicates whether the global cluster has deletion protection enabled.The database engine to use for this global cluster.engineVersion(String engineVersion) The engine version to use for this global cluster.globalClusterIdentifier(String globalClusterIdentifier) The cluster identifier of the global cluster.sourceDbClusterIdentifier(String sourceDbClusterIdentifier) The Amazon Resource Name (ARN) to use as the primary cluster of the global cluster.storageEncrypted(Boolean storageEncrypted) Indicates whether the global cluster has storage encryption enabled.storageEncrypted(IResolvable storageEncrypted) Indicates whether the global cluster has storage encryption enabled.The tags to be assigned to the Amazon DocumentDB resource.
-
Method Details
-
create
@Stability(Stable) public static CfnGlobalClusterPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnGlobalClusterPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnGlobalClusterPropsMixin.Builder.
-
deletionProtection
@Stability(Stable) public CfnGlobalClusterPropsMixin.Builder deletionProtection(Boolean deletionProtection) Indicates whether the global cluster has deletion protection enabled.The global cluster can't be deleted when deletion protection is enabled.
- Parameters:
deletionProtection- Indicates whether the global cluster has deletion protection enabled. This parameter is required.- Returns:
this- See Also:
-
deletionProtection
@Stability(Stable) public CfnGlobalClusterPropsMixin.Builder deletionProtection(IResolvable deletionProtection) Indicates whether the global cluster has deletion protection enabled.The global cluster can't be deleted when deletion protection is enabled.
- Parameters:
deletionProtection- Indicates whether the global cluster has deletion protection enabled. This parameter is required.- Returns:
this- See Also:
-
engine
The database engine to use for this global cluster.Default: - "docdb"
- Parameters:
engine- The database engine to use for this global cluster. This parameter is required.- Returns:
this- See Also:
-
engineVersion
The engine version to use for this global cluster.- Parameters:
engineVersion- The engine version to use for this global cluster. This parameter is required.- Returns:
this- See Also:
-
globalClusterIdentifier
@Stability(Stable) public CfnGlobalClusterPropsMixin.Builder globalClusterIdentifier(String globalClusterIdentifier) The cluster identifier of the global cluster.- Parameters:
globalClusterIdentifier- The cluster identifier of the global cluster. This parameter is required.- Returns:
this- See Also:
-
sourceDbClusterIdentifier
@Stability(Stable) public CfnGlobalClusterPropsMixin.Builder sourceDbClusterIdentifier(String sourceDbClusterIdentifier) The Amazon Resource Name (ARN) to use as the primary cluster of the global cluster.You may also choose to instead specify the DBClusterIdentifier. If you provide a value for this parameter, don't specify values for the following settings because Amazon DocumentDB uses the values from the specified source DB cluster: Engine, EngineVersion, StorageEncrypted
- Parameters:
sourceDbClusterIdentifier- The Amazon Resource Name (ARN) to use as the primary cluster of the global cluster. This parameter is required.- Returns:
this- See Also:
-
storageEncrypted
@Stability(Stable) public CfnGlobalClusterPropsMixin.Builder storageEncrypted(Boolean storageEncrypted) Indicates whether the global cluster has storage encryption enabled.- Parameters:
storageEncrypted- Indicates whether the global cluster has storage encryption enabled. This parameter is required.- Returns:
this- See Also:
-
storageEncrypted
@Stability(Stable) public CfnGlobalClusterPropsMixin.Builder storageEncrypted(IResolvable storageEncrypted) Indicates whether the global cluster has storage encryption enabled.- Parameters:
storageEncrypted- Indicates whether the global cluster has storage encryption enabled. This parameter is required.- Returns:
this- See Also:
-
tags
The tags to be assigned to the Amazon DocumentDB resource.- Parameters:
tags- The tags to be assigned to the Amazon DocumentDB resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGlobalClusterPropsMixin>- Returns:
- a newly built instance of
CfnGlobalClusterPropsMixin.
-