Class CfnGlobalCluster.Builder
java.lang.Object
software.amazon.awscdk.services.neptune.CfnGlobalCluster.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGlobalCluster>
- Enclosing class:
CfnGlobalCluster
@Stability(Stable)
public static final class CfnGlobalCluster.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGlobalCluster>
A fluent builder for
CfnGlobalCluster.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnGlobalCluster.BuilderdeletionProtection(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 CfnGlobalCluster.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnGlobalCluster.Builder.
-
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 CfnGlobalCluster.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 CfnGlobalCluster.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 CfnGlobalCluster.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
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
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<CfnGlobalCluster>- Returns:
- a newly built instance of
CfnGlobalCluster.
-