Class CfnGlobalClusterPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.neptune.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) Whether deletion protection is enabled.deletionProtection(IResolvable deletionProtection) Whether deletion protection is enabled.The name of the database engine.engineVersion(String engineVersion) The version number of the database engine.globalClusterIdentifier(String globalClusterIdentifier) The cluster identifier of the global database cluster.sourceDbClusterIdentifier(String sourceDbClusterIdentifier) The Amazon Resource Name (ARN) of an existing Neptune DB cluster to use as the primary cluster of the new global database.storageEncrypted(Boolean storageEncrypted) Whether the global database cluster is storage encrypted.storageEncrypted(IResolvable storageEncrypted) Whether the global database cluster is storage encrypted.An array of key-value pairs to apply to this 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) Whether deletion protection is enabled.- Parameters:
deletionProtection- Whether deletion protection is enabled. This parameter is required.- Returns:
this- See Also:
-
deletionProtection
@Stability(Stable) public CfnGlobalClusterPropsMixin.Builder deletionProtection(IResolvable deletionProtection) Whether deletion protection is enabled.- Parameters:
deletionProtection- Whether deletion protection is enabled. This parameter is required.- Returns:
this- See Also:
-
engine
The name of the database engine.- Parameters:
engine- The name of the database engine. This parameter is required.- Returns:
this- See Also:
-
engineVersion
The version number of the database engine.- Parameters:
engineVersion- The version number of the database engine. This parameter is required.- Returns:
this- See Also:
-
globalClusterIdentifier
@Stability(Stable) public CfnGlobalClusterPropsMixin.Builder globalClusterIdentifier(String globalClusterIdentifier) The cluster identifier of the global database cluster.- Parameters:
globalClusterIdentifier- The cluster identifier of the global database cluster. This parameter is required.- Returns:
this- See Also:
-
sourceDbClusterIdentifier
@Stability(Stable) public CfnGlobalClusterPropsMixin.Builder sourceDbClusterIdentifier(String sourceDbClusterIdentifier) The Amazon Resource Name (ARN) of an existing Neptune DB cluster to use as the primary cluster of the new global database.- Parameters:
sourceDbClusterIdentifier- The Amazon Resource Name (ARN) of an existing Neptune DB cluster to use as the primary cluster of the new global database. This parameter is required.- Returns:
this- See Also:
-
storageEncrypted
@Stability(Stable) public CfnGlobalClusterPropsMixin.Builder storageEncrypted(Boolean storageEncrypted) Whether the global database cluster is storage encrypted.- Parameters:
storageEncrypted- Whether the global database cluster is storage encrypted. This parameter is required.- Returns:
this- See Also:
-
storageEncrypted
@Stability(Stable) public CfnGlobalClusterPropsMixin.Builder storageEncrypted(IResolvable storageEncrypted) Whether the global database cluster is storage encrypted.- Parameters:
storageEncrypted- Whether the global database cluster is storage encrypted. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to this resource.- Parameters:
tags- An array of key-value pairs to apply to this 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.
-