Class RdsClusterConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.rds_cluster.RdsClusterConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<RdsClusterConfig>
- Enclosing interface:
- RdsClusterConfig
@Stability(Stable) public static final class RdsClusterConfig.Builder extends Object implements software.amazon.jsii.Builder<RdsClusterConfig>
A builder forRdsClusterConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
engine
@Stability(Stable) public RdsClusterConfig.Builder engine(String engine)
Sets the value ofRdsClusterConfig.getEngine()- Parameters:
engine- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#engine RdsCluster#engine}. This parameter is required.- Returns:
this
-
allocatedStorage
@Stability(Stable) public RdsClusterConfig.Builder allocatedStorage(Number allocatedStorage)
Sets the value ofRdsClusterConfig.getAllocatedStorage()- Parameters:
allocatedStorage- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#allocated_storage RdsCluster#allocated_storage}.- Returns:
this
-
allowMajorVersionUpgrade
@Stability(Stable) public RdsClusterConfig.Builder allowMajorVersionUpgrade(Boolean allowMajorVersionUpgrade)
Sets the value ofRdsClusterConfig.getAllowMajorVersionUpgrade()- Parameters:
allowMajorVersionUpgrade- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#allow_major_version_upgrade RdsCluster#allow_major_version_upgrade}.- Returns:
this
-
allowMajorVersionUpgrade
@Stability(Stable) public RdsClusterConfig.Builder allowMajorVersionUpgrade(com.hashicorp.cdktf.IResolvable allowMajorVersionUpgrade)
Sets the value ofRdsClusterConfig.getAllowMajorVersionUpgrade()- Parameters:
allowMajorVersionUpgrade- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#allow_major_version_upgrade RdsCluster#allow_major_version_upgrade}.- Returns:
this
-
applyImmediately
@Stability(Stable) public RdsClusterConfig.Builder applyImmediately(Boolean applyImmediately)
Sets the value ofRdsClusterConfig.getApplyImmediately()- Parameters:
applyImmediately- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#apply_immediately RdsCluster#apply_immediately}.- Returns:
this
-
applyImmediately
@Stability(Stable) public RdsClusterConfig.Builder applyImmediately(com.hashicorp.cdktf.IResolvable applyImmediately)
Sets the value ofRdsClusterConfig.getApplyImmediately()- Parameters:
applyImmediately- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#apply_immediately RdsCluster#apply_immediately}.- Returns:
this
-
availabilityZones
@Stability(Stable) public RdsClusterConfig.Builder availabilityZones(List<String> availabilityZones)
Sets the value ofRdsClusterConfig.getAvailabilityZones()- Parameters:
availabilityZones- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#availability_zones RdsCluster#availability_zones}.- Returns:
this
-
backtrackWindow
@Stability(Stable) public RdsClusterConfig.Builder backtrackWindow(Number backtrackWindow)
Sets the value ofRdsClusterConfig.getBacktrackWindow()- Parameters:
backtrackWindow- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#backtrack_window RdsCluster#backtrack_window}.- Returns:
this
-
backupRetentionPeriod
@Stability(Stable) public RdsClusterConfig.Builder backupRetentionPeriod(Number backupRetentionPeriod)
Sets the value ofRdsClusterConfig.getBackupRetentionPeriod()- Parameters:
backupRetentionPeriod- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#backup_retention_period RdsCluster#backup_retention_period}.- Returns:
this
-
clusterIdentifier
@Stability(Stable) public RdsClusterConfig.Builder clusterIdentifier(String clusterIdentifier)
Sets the value ofRdsClusterConfig.getClusterIdentifier()- Parameters:
clusterIdentifier- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#cluster_identifier RdsCluster#cluster_identifier}.- Returns:
this
-
clusterIdentifierPrefix
@Stability(Stable) public RdsClusterConfig.Builder clusterIdentifierPrefix(String clusterIdentifierPrefix)
Sets the value ofRdsClusterConfig.getClusterIdentifierPrefix()- Parameters:
clusterIdentifierPrefix- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#cluster_identifier_prefix RdsCluster#cluster_identifier_prefix}.- Returns:
this
-
clusterMembers
@Stability(Stable) public RdsClusterConfig.Builder clusterMembers(List<String> clusterMembers)
Sets the value ofRdsClusterConfig.getClusterMembers()- Parameters:
clusterMembers- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#cluster_members RdsCluster#cluster_members}.- Returns:
this
-
copyTagsToSnapshot
@Stability(Stable) public RdsClusterConfig.Builder copyTagsToSnapshot(Boolean copyTagsToSnapshot)
Sets the value ofRdsClusterConfig.getCopyTagsToSnapshot()- Parameters:
copyTagsToSnapshot- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#copy_tags_to_snapshot RdsCluster#copy_tags_to_snapshot}.- Returns:
this
-
copyTagsToSnapshot
@Stability(Stable) public RdsClusterConfig.Builder copyTagsToSnapshot(com.hashicorp.cdktf.IResolvable copyTagsToSnapshot)
Sets the value ofRdsClusterConfig.getCopyTagsToSnapshot()- Parameters:
copyTagsToSnapshot- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#copy_tags_to_snapshot RdsCluster#copy_tags_to_snapshot}.- Returns:
this
-
databaseName
@Stability(Stable) public RdsClusterConfig.Builder databaseName(String databaseName)
Sets the value ofRdsClusterConfig.getDatabaseName()- Parameters:
databaseName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#database_name RdsCluster#database_name}.- Returns:
this
-
dbClusterInstanceClass
@Stability(Stable) public RdsClusterConfig.Builder dbClusterInstanceClass(String dbClusterInstanceClass)
Sets the value ofRdsClusterConfig.getDbClusterInstanceClass()- Parameters:
dbClusterInstanceClass- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#db_cluster_instance_class RdsCluster#db_cluster_instance_class}.- Returns:
this
-
dbClusterParameterGroupName
@Stability(Stable) public RdsClusterConfig.Builder dbClusterParameterGroupName(String dbClusterParameterGroupName)
Sets the value ofRdsClusterConfig.getDbClusterParameterGroupName()- Parameters:
dbClusterParameterGroupName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#db_cluster_parameter_group_name RdsCluster#db_cluster_parameter_group_name}.- Returns:
this
-
dbInstanceParameterGroupName
@Stability(Stable) public RdsClusterConfig.Builder dbInstanceParameterGroupName(String dbInstanceParameterGroupName)
Sets the value ofRdsClusterConfig.getDbInstanceParameterGroupName()- Parameters:
dbInstanceParameterGroupName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#db_instance_parameter_group_name RdsCluster#db_instance_parameter_group_name}.- Returns:
this
-
dbSubnetGroupName
@Stability(Stable) public RdsClusterConfig.Builder dbSubnetGroupName(String dbSubnetGroupName)
Sets the value ofRdsClusterConfig.getDbSubnetGroupName()- Parameters:
dbSubnetGroupName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#db_subnet_group_name RdsCluster#db_subnet_group_name}.- Returns:
this
-
deletionProtection
@Stability(Stable) public RdsClusterConfig.Builder deletionProtection(Boolean deletionProtection)
Sets the value ofRdsClusterConfig.getDeletionProtection()- Parameters:
deletionProtection- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#deletion_protection RdsCluster#deletion_protection}.- Returns:
this
-
deletionProtection
@Stability(Stable) public RdsClusterConfig.Builder deletionProtection(com.hashicorp.cdktf.IResolvable deletionProtection)
Sets the value ofRdsClusterConfig.getDeletionProtection()- Parameters:
deletionProtection- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#deletion_protection RdsCluster#deletion_protection}.- Returns:
this
-
enabledCloudwatchLogsExports
@Stability(Stable) public RdsClusterConfig.Builder enabledCloudwatchLogsExports(List<String> enabledCloudwatchLogsExports)
Sets the value ofRdsClusterConfig.getEnabledCloudwatchLogsExports()- Parameters:
enabledCloudwatchLogsExports- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#enabled_cloudwatch_logs_exports RdsCluster#enabled_cloudwatch_logs_exports}.- Returns:
this
-
enableGlobalWriteForwarding
@Stability(Stable) public RdsClusterConfig.Builder enableGlobalWriteForwarding(Boolean enableGlobalWriteForwarding)
Sets the value ofRdsClusterConfig.getEnableGlobalWriteForwarding()- Parameters:
enableGlobalWriteForwarding- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#enable_global_write_forwarding RdsCluster#enable_global_write_forwarding}.- Returns:
this
-
enableGlobalWriteForwarding
@Stability(Stable) public RdsClusterConfig.Builder enableGlobalWriteForwarding(com.hashicorp.cdktf.IResolvable enableGlobalWriteForwarding)
Sets the value ofRdsClusterConfig.getEnableGlobalWriteForwarding()- Parameters:
enableGlobalWriteForwarding- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#enable_global_write_forwarding RdsCluster#enable_global_write_forwarding}.- Returns:
this
-
enableHttpEndpoint
@Stability(Stable) public RdsClusterConfig.Builder enableHttpEndpoint(Boolean enableHttpEndpoint)
Sets the value ofRdsClusterConfig.getEnableHttpEndpoint()- Parameters:
enableHttpEndpoint- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#enable_http_endpoint RdsCluster#enable_http_endpoint}.- Returns:
this
-
enableHttpEndpoint
@Stability(Stable) public RdsClusterConfig.Builder enableHttpEndpoint(com.hashicorp.cdktf.IResolvable enableHttpEndpoint)
Sets the value ofRdsClusterConfig.getEnableHttpEndpoint()- Parameters:
enableHttpEndpoint- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#enable_http_endpoint RdsCluster#enable_http_endpoint}.- Returns:
this
-
engineMode
@Stability(Stable) public RdsClusterConfig.Builder engineMode(String engineMode)
Sets the value ofRdsClusterConfig.getEngineMode()- Parameters:
engineMode- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#engine_mode RdsCluster#engine_mode}.- Returns:
this
-
engineVersion
@Stability(Stable) public RdsClusterConfig.Builder engineVersion(String engineVersion)
Sets the value ofRdsClusterConfig.getEngineVersion()- Parameters:
engineVersion- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#engine_version RdsCluster#engine_version}.- Returns:
this
-
finalSnapshotIdentifier
@Stability(Stable) public RdsClusterConfig.Builder finalSnapshotIdentifier(String finalSnapshotIdentifier)
Sets the value ofRdsClusterConfig.getFinalSnapshotIdentifier()- Parameters:
finalSnapshotIdentifier- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#final_snapshot_identifier RdsCluster#final_snapshot_identifier}.- Returns:
this
-
globalClusterIdentifier
@Stability(Stable) public RdsClusterConfig.Builder globalClusterIdentifier(String globalClusterIdentifier)
Sets the value ofRdsClusterConfig.getGlobalClusterIdentifier()- Parameters:
globalClusterIdentifier- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#global_cluster_identifier RdsCluster#global_cluster_identifier}.- Returns:
this
-
iamDatabaseAuthenticationEnabled
@Stability(Stable) public RdsClusterConfig.Builder iamDatabaseAuthenticationEnabled(Boolean iamDatabaseAuthenticationEnabled)
Sets the value ofRdsClusterConfig.getIamDatabaseAuthenticationEnabled()- Parameters:
iamDatabaseAuthenticationEnabled- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#iam_database_authentication_enabled RdsCluster#iam_database_authentication_enabled}.- Returns:
this
-
iamDatabaseAuthenticationEnabled
@Stability(Stable) public RdsClusterConfig.Builder iamDatabaseAuthenticationEnabled(com.hashicorp.cdktf.IResolvable iamDatabaseAuthenticationEnabled)
Sets the value ofRdsClusterConfig.getIamDatabaseAuthenticationEnabled()- Parameters:
iamDatabaseAuthenticationEnabled- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#iam_database_authentication_enabled RdsCluster#iam_database_authentication_enabled}.- Returns:
this
-
iamRoles
@Stability(Stable) public RdsClusterConfig.Builder iamRoles(List<String> iamRoles)
Sets the value ofRdsClusterConfig.getIamRoles()- Parameters:
iamRoles- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#iam_roles RdsCluster#iam_roles}.- Returns:
this
-
id
@Stability(Stable) public RdsClusterConfig.Builder id(String id)
Sets the value ofRdsClusterConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#id RdsCluster#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
-
iops
@Stability(Stable) public RdsClusterConfig.Builder iops(Number iops)
Sets the value ofRdsClusterConfig.getIops()- Parameters:
iops- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#iops RdsCluster#iops}.- Returns:
this
-
kmsKeyId
@Stability(Stable) public RdsClusterConfig.Builder kmsKeyId(String kmsKeyId)
Sets the value ofRdsClusterConfig.getKmsKeyId()- Parameters:
kmsKeyId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#kms_key_id RdsCluster#kms_key_id}.- Returns:
this
-
manageMasterUserPassword
@Stability(Stable) public RdsClusterConfig.Builder manageMasterUserPassword(Boolean manageMasterUserPassword)
Sets the value ofRdsClusterConfig.getManageMasterUserPassword()- Parameters:
manageMasterUserPassword- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#manage_master_user_password RdsCluster#manage_master_user_password}.- Returns:
this
-
manageMasterUserPassword
@Stability(Stable) public RdsClusterConfig.Builder manageMasterUserPassword(com.hashicorp.cdktf.IResolvable manageMasterUserPassword)
Sets the value ofRdsClusterConfig.getManageMasterUserPassword()- Parameters:
manageMasterUserPassword- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#manage_master_user_password RdsCluster#manage_master_user_password}.- Returns:
this
-
masterPassword
@Stability(Stable) public RdsClusterConfig.Builder masterPassword(String masterPassword)
Sets the value ofRdsClusterConfig.getMasterPassword()- Parameters:
masterPassword- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#master_password RdsCluster#master_password}.- Returns:
this
-
masterUsername
@Stability(Stable) public RdsClusterConfig.Builder masterUsername(String masterUsername)
Sets the value ofRdsClusterConfig.getMasterUsername()- Parameters:
masterUsername- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#master_username RdsCluster#master_username}.- Returns:
this
-
masterUserSecretKmsKeyId
@Stability(Stable) public RdsClusterConfig.Builder masterUserSecretKmsKeyId(String masterUserSecretKmsKeyId)
Sets the value ofRdsClusterConfig.getMasterUserSecretKmsKeyId()- Parameters:
masterUserSecretKmsKeyId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#master_user_secret_kms_key_id RdsCluster#master_user_secret_kms_key_id}.- Returns:
this
-
networkType
@Stability(Stable) public RdsClusterConfig.Builder networkType(String networkType)
Sets the value ofRdsClusterConfig.getNetworkType()- Parameters:
networkType- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#network_type RdsCluster#network_type}.- Returns:
this
-
port
@Stability(Stable) public RdsClusterConfig.Builder port(Number port)
Sets the value ofRdsClusterConfig.getPort()- Parameters:
port- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#port RdsCluster#port}.- Returns:
this
-
preferredBackupWindow
@Stability(Stable) public RdsClusterConfig.Builder preferredBackupWindow(String preferredBackupWindow)
Sets the value ofRdsClusterConfig.getPreferredBackupWindow()- Parameters:
preferredBackupWindow- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#preferred_backup_window RdsCluster#preferred_backup_window}.- Returns:
this
-
preferredMaintenanceWindow
@Stability(Stable) public RdsClusterConfig.Builder preferredMaintenanceWindow(String preferredMaintenanceWindow)
Sets the value ofRdsClusterConfig.getPreferredMaintenanceWindow()- Parameters:
preferredMaintenanceWindow- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#preferred_maintenance_window RdsCluster#preferred_maintenance_window}.- Returns:
this
-
replicationSourceIdentifier
@Stability(Stable) public RdsClusterConfig.Builder replicationSourceIdentifier(String replicationSourceIdentifier)
Sets the value ofRdsClusterConfig.getReplicationSourceIdentifier()- Parameters:
replicationSourceIdentifier- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#replication_source_identifier RdsCluster#replication_source_identifier}.- Returns:
this
-
restoreToPointInTime
@Stability(Stable) public RdsClusterConfig.Builder restoreToPointInTime(RdsClusterRestoreToPointInTime restoreToPointInTime)
Sets the value ofRdsClusterConfig.getRestoreToPointInTime()- Parameters:
restoreToPointInTime- restore_to_point_in_time block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#restore_to_point_in_time RdsCluster#restore_to_point_in_time}- Returns:
this
-
s3Import
@Stability(Stable) public RdsClusterConfig.Builder s3Import(RdsClusterS3Import s3Import)
Sets the value ofRdsClusterConfig.getS3Import()- Parameters:
s3Import- s3_import block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#s3_import RdsCluster#s3_import}- Returns:
this
-
scalingConfiguration
@Stability(Stable) public RdsClusterConfig.Builder scalingConfiguration(RdsClusterScalingConfiguration scalingConfiguration)
Sets the value ofRdsClusterConfig.getScalingConfiguration()- Parameters:
scalingConfiguration- scaling_configuration block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#scaling_configuration RdsCluster#scaling_configuration}- Returns:
this
-
serverlessv2ScalingConfiguration
@Stability(Stable) public RdsClusterConfig.Builder serverlessv2ScalingConfiguration(RdsClusterServerlessv2ScalingConfiguration serverlessv2ScalingConfiguration)
Sets the value ofRdsClusterConfig.getServerlessv2ScalingConfiguration()- Parameters:
serverlessv2ScalingConfiguration- serverlessv2_scaling_configuration block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#serverlessv2_scaling_configuration RdsCluster#serverlessv2_scaling_configuration}- Returns:
this
-
skipFinalSnapshot
@Stability(Stable) public RdsClusterConfig.Builder skipFinalSnapshot(Boolean skipFinalSnapshot)
Sets the value ofRdsClusterConfig.getSkipFinalSnapshot()- Parameters:
skipFinalSnapshot- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#skip_final_snapshot RdsCluster#skip_final_snapshot}.- Returns:
this
-
skipFinalSnapshot
@Stability(Stable) public RdsClusterConfig.Builder skipFinalSnapshot(com.hashicorp.cdktf.IResolvable skipFinalSnapshot)
Sets the value ofRdsClusterConfig.getSkipFinalSnapshot()- Parameters:
skipFinalSnapshot- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#skip_final_snapshot RdsCluster#skip_final_snapshot}.- Returns:
this
-
snapshotIdentifier
@Stability(Stable) public RdsClusterConfig.Builder snapshotIdentifier(String snapshotIdentifier)
Sets the value ofRdsClusterConfig.getSnapshotIdentifier()- Parameters:
snapshotIdentifier- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#snapshot_identifier RdsCluster#snapshot_identifier}.- Returns:
this
-
sourceRegion
@Stability(Stable) public RdsClusterConfig.Builder sourceRegion(String sourceRegion)
Sets the value ofRdsClusterConfig.getSourceRegion()- Parameters:
sourceRegion- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#source_region RdsCluster#source_region}.- Returns:
this
-
storageEncrypted
@Stability(Stable) public RdsClusterConfig.Builder storageEncrypted(Boolean storageEncrypted)
Sets the value ofRdsClusterConfig.getStorageEncrypted()- Parameters:
storageEncrypted- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#storage_encrypted RdsCluster#storage_encrypted}.- Returns:
this
-
storageEncrypted
@Stability(Stable) public RdsClusterConfig.Builder storageEncrypted(com.hashicorp.cdktf.IResolvable storageEncrypted)
Sets the value ofRdsClusterConfig.getStorageEncrypted()- Parameters:
storageEncrypted- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#storage_encrypted RdsCluster#storage_encrypted}.- Returns:
this
-
storageType
@Stability(Stable) public RdsClusterConfig.Builder storageType(String storageType)
Sets the value ofRdsClusterConfig.getStorageType()- Parameters:
storageType- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#storage_type RdsCluster#storage_type}.- Returns:
this
-
tags
@Stability(Stable) public RdsClusterConfig.Builder tags(Map<String,String> tags)
Sets the value ofRdsClusterConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#tags RdsCluster#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public RdsClusterConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofRdsClusterConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#tags_all RdsCluster#tags_all}.- Returns:
this
-
timeouts
@Stability(Stable) public RdsClusterConfig.Builder timeouts(RdsClusterTimeouts timeouts)
Sets the value ofRdsClusterConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#timeouts RdsCluster#timeouts}- Returns:
this
-
vpcSecurityGroupIds
@Stability(Stable) public RdsClusterConfig.Builder vpcSecurityGroupIds(List<String> vpcSecurityGroupIds)
Sets the value ofRdsClusterConfig.getVpcSecurityGroupIds()- Parameters:
vpcSecurityGroupIds- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#vpc_security_group_ids RdsCluster#vpc_security_group_ids}.- Returns:
this
-
connection
@Stability(Experimental) public RdsClusterConfig.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 RdsClusterConfig.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 RdsClusterConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public RdsClusterConfig.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 RdsClusterConfig.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 RdsClusterConfig.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 RdsClusterConfig.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 RdsClusterConfig.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 RdsClusterConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public RdsClusterConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<RdsClusterConfig>- Returns:
- a new instance of
RdsClusterConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-