Class NeptuneClusterConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.neptune_cluster.NeptuneClusterConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NeptuneClusterConfig>
- Enclosing interface:
- NeptuneClusterConfig
@Stability(Stable) public static final class NeptuneClusterConfig.Builder extends Object implements software.amazon.jsii.Builder<NeptuneClusterConfig>
A builder forNeptuneClusterConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
allowMajorVersionUpgrade
@Stability(Stable) public NeptuneClusterConfig.Builder allowMajorVersionUpgrade(Boolean allowMajorVersionUpgrade)
Sets the value ofNeptuneClusterConfig.getAllowMajorVersionUpgrade()- Parameters:
allowMajorVersionUpgrade- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#allow_major_version_upgrade NeptuneCluster#allow_major_version_upgrade}.- Returns:
this
-
allowMajorVersionUpgrade
@Stability(Stable) public NeptuneClusterConfig.Builder allowMajorVersionUpgrade(com.hashicorp.cdktf.IResolvable allowMajorVersionUpgrade)
Sets the value ofNeptuneClusterConfig.getAllowMajorVersionUpgrade()- Parameters:
allowMajorVersionUpgrade- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#allow_major_version_upgrade NeptuneCluster#allow_major_version_upgrade}.- Returns:
this
-
applyImmediately
@Stability(Stable) public NeptuneClusterConfig.Builder applyImmediately(Boolean applyImmediately)
Sets the value ofNeptuneClusterConfig.getApplyImmediately()- Parameters:
applyImmediately- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#apply_immediately NeptuneCluster#apply_immediately}.- Returns:
this
-
applyImmediately
@Stability(Stable) public NeptuneClusterConfig.Builder applyImmediately(com.hashicorp.cdktf.IResolvable applyImmediately)
Sets the value ofNeptuneClusterConfig.getApplyImmediately()- Parameters:
applyImmediately- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#apply_immediately NeptuneCluster#apply_immediately}.- Returns:
this
-
availabilityZones
@Stability(Stable) public NeptuneClusterConfig.Builder availabilityZones(List<String> availabilityZones)
Sets the value ofNeptuneClusterConfig.getAvailabilityZones()- Parameters:
availabilityZones- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#availability_zones NeptuneCluster#availability_zones}.- Returns:
this
-
backupRetentionPeriod
@Stability(Stable) public NeptuneClusterConfig.Builder backupRetentionPeriod(Number backupRetentionPeriod)
Sets the value ofNeptuneClusterConfig.getBackupRetentionPeriod()- Parameters:
backupRetentionPeriod- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#backup_retention_period NeptuneCluster#backup_retention_period}.- Returns:
this
-
clusterIdentifier
@Stability(Stable) public NeptuneClusterConfig.Builder clusterIdentifier(String clusterIdentifier)
Sets the value ofNeptuneClusterConfig.getClusterIdentifier()- Parameters:
clusterIdentifier- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#cluster_identifier NeptuneCluster#cluster_identifier}.- Returns:
this
-
clusterIdentifierPrefix
@Stability(Stable) public NeptuneClusterConfig.Builder clusterIdentifierPrefix(String clusterIdentifierPrefix)
Sets the value ofNeptuneClusterConfig.getClusterIdentifierPrefix()- Parameters:
clusterIdentifierPrefix- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#cluster_identifier_prefix NeptuneCluster#cluster_identifier_prefix}.- Returns:
this
-
copyTagsToSnapshot
@Stability(Stable) public NeptuneClusterConfig.Builder copyTagsToSnapshot(Boolean copyTagsToSnapshot)
Sets the value ofNeptuneClusterConfig.getCopyTagsToSnapshot()- Parameters:
copyTagsToSnapshot- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#copy_tags_to_snapshot NeptuneCluster#copy_tags_to_snapshot}.- Returns:
this
-
copyTagsToSnapshot
@Stability(Stable) public NeptuneClusterConfig.Builder copyTagsToSnapshot(com.hashicorp.cdktf.IResolvable copyTagsToSnapshot)
Sets the value ofNeptuneClusterConfig.getCopyTagsToSnapshot()- Parameters:
copyTagsToSnapshot- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#copy_tags_to_snapshot NeptuneCluster#copy_tags_to_snapshot}.- Returns:
this
-
deletionProtection
@Stability(Stable) public NeptuneClusterConfig.Builder deletionProtection(Boolean deletionProtection)
Sets the value ofNeptuneClusterConfig.getDeletionProtection()- Parameters:
deletionProtection- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#deletion_protection NeptuneCluster#deletion_protection}.- Returns:
this
-
deletionProtection
@Stability(Stable) public NeptuneClusterConfig.Builder deletionProtection(com.hashicorp.cdktf.IResolvable deletionProtection)
Sets the value ofNeptuneClusterConfig.getDeletionProtection()- Parameters:
deletionProtection- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#deletion_protection NeptuneCluster#deletion_protection}.- Returns:
this
-
enableCloudwatchLogsExports
@Stability(Stable) public NeptuneClusterConfig.Builder enableCloudwatchLogsExports(List<String> enableCloudwatchLogsExports)
Sets the value ofNeptuneClusterConfig.getEnableCloudwatchLogsExports()- Parameters:
enableCloudwatchLogsExports- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#enable_cloudwatch_logs_exports NeptuneCluster#enable_cloudwatch_logs_exports}.- Returns:
this
-
engine
@Stability(Stable) public NeptuneClusterConfig.Builder engine(String engine)
Sets the value ofNeptuneClusterConfig.getEngine()- Parameters:
engine- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#engine NeptuneCluster#engine}.- Returns:
this
-
engineVersion
@Stability(Stable) public NeptuneClusterConfig.Builder engineVersion(String engineVersion)
Sets the value ofNeptuneClusterConfig.getEngineVersion()- Parameters:
engineVersion- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#engine_version NeptuneCluster#engine_version}.- Returns:
this
-
finalSnapshotIdentifier
@Stability(Stable) public NeptuneClusterConfig.Builder finalSnapshotIdentifier(String finalSnapshotIdentifier)
Sets the value ofNeptuneClusterConfig.getFinalSnapshotIdentifier()- Parameters:
finalSnapshotIdentifier- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#final_snapshot_identifier NeptuneCluster#final_snapshot_identifier}.- Returns:
this
-
globalClusterIdentifier
@Stability(Stable) public NeptuneClusterConfig.Builder globalClusterIdentifier(String globalClusterIdentifier)
Sets the value ofNeptuneClusterConfig.getGlobalClusterIdentifier()- Parameters:
globalClusterIdentifier- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#global_cluster_identifier NeptuneCluster#global_cluster_identifier}.- Returns:
this
-
iamDatabaseAuthenticationEnabled
@Stability(Stable) public NeptuneClusterConfig.Builder iamDatabaseAuthenticationEnabled(Boolean iamDatabaseAuthenticationEnabled)
Sets the value ofNeptuneClusterConfig.getIamDatabaseAuthenticationEnabled()- Parameters:
iamDatabaseAuthenticationEnabled- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#iam_database_authentication_enabled NeptuneCluster#iam_database_authentication_enabled}.- Returns:
this
-
iamDatabaseAuthenticationEnabled
@Stability(Stable) public NeptuneClusterConfig.Builder iamDatabaseAuthenticationEnabled(com.hashicorp.cdktf.IResolvable iamDatabaseAuthenticationEnabled)
Sets the value ofNeptuneClusterConfig.getIamDatabaseAuthenticationEnabled()- Parameters:
iamDatabaseAuthenticationEnabled- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#iam_database_authentication_enabled NeptuneCluster#iam_database_authentication_enabled}.- Returns:
this
-
iamRoles
@Stability(Stable) public NeptuneClusterConfig.Builder iamRoles(List<String> iamRoles)
Sets the value ofNeptuneClusterConfig.getIamRoles()- Parameters:
iamRoles- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#iam_roles NeptuneCluster#iam_roles}.- Returns:
this
-
id
@Stability(Stable) public NeptuneClusterConfig.Builder id(String id)
Sets the value ofNeptuneClusterConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#id NeptuneCluster#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
-
kmsKeyArn
@Stability(Stable) public NeptuneClusterConfig.Builder kmsKeyArn(String kmsKeyArn)
Sets the value ofNeptuneClusterConfig.getKmsKeyArn()- Parameters:
kmsKeyArn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#kms_key_arn NeptuneCluster#kms_key_arn}.- Returns:
this
-
neptuneClusterParameterGroupName
@Stability(Stable) public NeptuneClusterConfig.Builder neptuneClusterParameterGroupName(String neptuneClusterParameterGroupName)
Sets the value ofNeptuneClusterConfig.getNeptuneClusterParameterGroupName()- Parameters:
neptuneClusterParameterGroupName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#neptune_cluster_parameter_group_name NeptuneCluster#neptune_cluster_parameter_group_name}.- Returns:
this
-
neptuneInstanceParameterGroupName
@Stability(Stable) public NeptuneClusterConfig.Builder neptuneInstanceParameterGroupName(String neptuneInstanceParameterGroupName)
Sets the value ofNeptuneClusterConfig.getNeptuneInstanceParameterGroupName()- Parameters:
neptuneInstanceParameterGroupName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#neptune_instance_parameter_group_name NeptuneCluster#neptune_instance_parameter_group_name}.- Returns:
this
-
neptuneSubnetGroupName
@Stability(Stable) public NeptuneClusterConfig.Builder neptuneSubnetGroupName(String neptuneSubnetGroupName)
Sets the value ofNeptuneClusterConfig.getNeptuneSubnetGroupName()- Parameters:
neptuneSubnetGroupName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#neptune_subnet_group_name NeptuneCluster#neptune_subnet_group_name}.- Returns:
this
-
port
@Stability(Stable) public NeptuneClusterConfig.Builder port(Number port)
Sets the value ofNeptuneClusterConfig.getPort()- Parameters:
port- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#port NeptuneCluster#port}.- Returns:
this
-
preferredBackupWindow
@Stability(Stable) public NeptuneClusterConfig.Builder preferredBackupWindow(String preferredBackupWindow)
Sets the value ofNeptuneClusterConfig.getPreferredBackupWindow()- Parameters:
preferredBackupWindow- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#preferred_backup_window NeptuneCluster#preferred_backup_window}.- Returns:
this
-
preferredMaintenanceWindow
@Stability(Stable) public NeptuneClusterConfig.Builder preferredMaintenanceWindow(String preferredMaintenanceWindow)
Sets the value ofNeptuneClusterConfig.getPreferredMaintenanceWindow()- Parameters:
preferredMaintenanceWindow- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#preferred_maintenance_window NeptuneCluster#preferred_maintenance_window}.- Returns:
this
-
replicationSourceIdentifier
@Stability(Stable) public NeptuneClusterConfig.Builder replicationSourceIdentifier(String replicationSourceIdentifier)
Sets the value ofNeptuneClusterConfig.getReplicationSourceIdentifier()- Parameters:
replicationSourceIdentifier- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#replication_source_identifier NeptuneCluster#replication_source_identifier}.- Returns:
this
-
serverlessV2ScalingConfiguration
@Stability(Stable) public NeptuneClusterConfig.Builder serverlessV2ScalingConfiguration(NeptuneClusterServerlessV2ScalingConfiguration serverlessV2ScalingConfiguration)
Sets the value ofNeptuneClusterConfig.getServerlessV2ScalingConfiguration()- Parameters:
serverlessV2ScalingConfiguration- serverless_v2_scaling_configuration block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#serverless_v2_scaling_configuration NeptuneCluster#serverless_v2_scaling_configuration}- Returns:
this
-
skipFinalSnapshot
@Stability(Stable) public NeptuneClusterConfig.Builder skipFinalSnapshot(Boolean skipFinalSnapshot)
Sets the value ofNeptuneClusterConfig.getSkipFinalSnapshot()- Parameters:
skipFinalSnapshot- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#skip_final_snapshot NeptuneCluster#skip_final_snapshot}.- Returns:
this
-
skipFinalSnapshot
@Stability(Stable) public NeptuneClusterConfig.Builder skipFinalSnapshot(com.hashicorp.cdktf.IResolvable skipFinalSnapshot)
Sets the value ofNeptuneClusterConfig.getSkipFinalSnapshot()- Parameters:
skipFinalSnapshot- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#skip_final_snapshot NeptuneCluster#skip_final_snapshot}.- Returns:
this
-
snapshotIdentifier
@Stability(Stable) public NeptuneClusterConfig.Builder snapshotIdentifier(String snapshotIdentifier)
Sets the value ofNeptuneClusterConfig.getSnapshotIdentifier()- Parameters:
snapshotIdentifier- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#snapshot_identifier NeptuneCluster#snapshot_identifier}.- Returns:
this
-
storageEncrypted
@Stability(Stable) public NeptuneClusterConfig.Builder storageEncrypted(Boolean storageEncrypted)
Sets the value ofNeptuneClusterConfig.getStorageEncrypted()- Parameters:
storageEncrypted- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#storage_encrypted NeptuneCluster#storage_encrypted}.- Returns:
this
-
storageEncrypted
@Stability(Stable) public NeptuneClusterConfig.Builder storageEncrypted(com.hashicorp.cdktf.IResolvable storageEncrypted)
Sets the value ofNeptuneClusterConfig.getStorageEncrypted()- Parameters:
storageEncrypted- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#storage_encrypted NeptuneCluster#storage_encrypted}.- Returns:
this
-
tags
@Stability(Stable) public NeptuneClusterConfig.Builder tags(Map<String,String> tags)
Sets the value ofNeptuneClusterConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#tags NeptuneCluster#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public NeptuneClusterConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofNeptuneClusterConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#tags_all NeptuneCluster#tags_all}.- Returns:
this
-
timeouts
@Stability(Stable) public NeptuneClusterConfig.Builder timeouts(NeptuneClusterTimeouts timeouts)
Sets the value ofNeptuneClusterConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#timeouts NeptuneCluster#timeouts}- Returns:
this
-
vpcSecurityGroupIds
@Stability(Stable) public NeptuneClusterConfig.Builder vpcSecurityGroupIds(List<String> vpcSecurityGroupIds)
Sets the value ofNeptuneClusterConfig.getVpcSecurityGroupIds()- Parameters:
vpcSecurityGroupIds- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/neptune_cluster#vpc_security_group_ids NeptuneCluster#vpc_security_group_ids}.- Returns:
this
-
connection
@Stability(Experimental) public NeptuneClusterConfig.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 NeptuneClusterConfig.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 NeptuneClusterConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public NeptuneClusterConfig.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 NeptuneClusterConfig.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 NeptuneClusterConfig.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 NeptuneClusterConfig.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 NeptuneClusterConfig.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 NeptuneClusterConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public NeptuneClusterConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NeptuneClusterConfig>- Returns:
- a new instance of
NeptuneClusterConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-