Class NeptuneGlobalClusterConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.neptune_global_cluster.NeptuneGlobalClusterConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NeptuneGlobalClusterConfig>
- Enclosing interface:
- NeptuneGlobalClusterConfig
@Stability(Stable) public static final class NeptuneGlobalClusterConfig.Builder extends Object implements software.amazon.jsii.Builder<NeptuneGlobalClusterConfig>
A builder forNeptuneGlobalClusterConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
globalClusterIdentifier
@Stability(Stable) public NeptuneGlobalClusterConfig.Builder globalClusterIdentifier(String globalClusterIdentifier)
Sets the value ofNeptuneGlobalClusterConfig.getGlobalClusterIdentifier()- Parameters:
globalClusterIdentifier- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_global_cluster#global_cluster_identifier NeptuneGlobalCluster#global_cluster_identifier}. This parameter is required.- Returns:
this
-
deletionProtection
@Stability(Stable) public NeptuneGlobalClusterConfig.Builder deletionProtection(Boolean deletionProtection)
Sets the value ofNeptuneGlobalClusterConfig.getDeletionProtection()- Parameters:
deletionProtection- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_global_cluster#deletion_protection NeptuneGlobalCluster#deletion_protection}.- Returns:
this
-
deletionProtection
@Stability(Stable) public NeptuneGlobalClusterConfig.Builder deletionProtection(com.hashicorp.cdktf.IResolvable deletionProtection)
Sets the value ofNeptuneGlobalClusterConfig.getDeletionProtection()- Parameters:
deletionProtection- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_global_cluster#deletion_protection NeptuneGlobalCluster#deletion_protection}.- Returns:
this
-
engine
@Stability(Stable) public NeptuneGlobalClusterConfig.Builder engine(String engine)
Sets the value ofNeptuneGlobalClusterConfig.getEngine()- Parameters:
engine- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_global_cluster#engine NeptuneGlobalCluster#engine}.- Returns:
this
-
engineVersion
@Stability(Stable) public NeptuneGlobalClusterConfig.Builder engineVersion(String engineVersion)
Sets the value ofNeptuneGlobalClusterConfig.getEngineVersion()- Parameters:
engineVersion- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_global_cluster#engine_version NeptuneGlobalCluster#engine_version}.- Returns:
this
-
id
@Stability(Stable) public NeptuneGlobalClusterConfig.Builder id(String id)
Sets the value ofNeptuneGlobalClusterConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_global_cluster#id NeptuneGlobalCluster#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.- Returns:
this
-
sourceDbClusterIdentifier
@Stability(Stable) public NeptuneGlobalClusterConfig.Builder sourceDbClusterIdentifier(String sourceDbClusterIdentifier)
Sets the value ofNeptuneGlobalClusterConfig.getSourceDbClusterIdentifier()- Parameters:
sourceDbClusterIdentifier- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_global_cluster#source_db_cluster_identifier NeptuneGlobalCluster#source_db_cluster_identifier}.- Returns:
this
-
storageEncrypted
@Stability(Stable) public NeptuneGlobalClusterConfig.Builder storageEncrypted(Boolean storageEncrypted)
Sets the value ofNeptuneGlobalClusterConfig.getStorageEncrypted()- Parameters:
storageEncrypted- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_global_cluster#storage_encrypted NeptuneGlobalCluster#storage_encrypted}.- Returns:
this
-
storageEncrypted
@Stability(Stable) public NeptuneGlobalClusterConfig.Builder storageEncrypted(com.hashicorp.cdktf.IResolvable storageEncrypted)
Sets the value ofNeptuneGlobalClusterConfig.getStorageEncrypted()- Parameters:
storageEncrypted- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_global_cluster#storage_encrypted NeptuneGlobalCluster#storage_encrypted}.- Returns:
this
-
timeouts
@Stability(Stable) public NeptuneGlobalClusterConfig.Builder timeouts(NeptuneGlobalClusterTimeouts timeouts)
Sets the value ofNeptuneGlobalClusterConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_global_cluster#timeouts NeptuneGlobalCluster#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public NeptuneGlobalClusterConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public NeptuneGlobalClusterConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public NeptuneGlobalClusterConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public NeptuneGlobalClusterConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public NeptuneGlobalClusterConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public NeptuneGlobalClusterConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public NeptuneGlobalClusterConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public NeptuneGlobalClusterConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public NeptuneGlobalClusterConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public NeptuneGlobalClusterConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NeptuneGlobalClusterConfig>- Returns:
- a new instance of
NeptuneGlobalClusterConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-