Class DocdbClusterConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • applyImmediately

        @Stability(Stable)
        public DocdbClusterConfig.Builder applyImmediately​(Boolean applyImmediately)
        Parameters:
        applyImmediately - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/docdb_cluster#apply_immediately DocdbCluster#apply_immediately}.
        Returns:
        this
      • applyImmediately

        @Stability(Stable)
        public DocdbClusterConfig.Builder applyImmediately​(com.hashicorp.cdktf.IResolvable applyImmediately)
        Parameters:
        applyImmediately - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/docdb_cluster#apply_immediately DocdbCluster#apply_immediately}.
        Returns:
        this
      • availabilityZones

        @Stability(Stable)
        public DocdbClusterConfig.Builder availabilityZones​(List<String> availabilityZones)
        Parameters:
        availabilityZones - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/docdb_cluster#availability_zones DocdbCluster#availability_zones}.
        Returns:
        this
      • backupRetentionPeriod

        @Stability(Stable)
        public DocdbClusterConfig.Builder backupRetentionPeriod​(Number backupRetentionPeriod)
        Parameters:
        backupRetentionPeriod - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/docdb_cluster#backup_retention_period DocdbCluster#backup_retention_period}.
        Returns:
        this
      • clusterIdentifier

        @Stability(Stable)
        public DocdbClusterConfig.Builder clusterIdentifier​(String clusterIdentifier)
        Parameters:
        clusterIdentifier - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/docdb_cluster#cluster_identifier DocdbCluster#cluster_identifier}.
        Returns:
        this
      • clusterIdentifierPrefix

        @Stability(Stable)
        public DocdbClusterConfig.Builder clusterIdentifierPrefix​(String clusterIdentifierPrefix)
        Parameters:
        clusterIdentifierPrefix - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/docdb_cluster#cluster_identifier_prefix DocdbCluster#cluster_identifier_prefix}.
        Returns:
        this
      • clusterMembers

        @Stability(Stable)
        public DocdbClusterConfig.Builder clusterMembers​(List<String> clusterMembers)
        Parameters:
        clusterMembers - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/docdb_cluster#cluster_members DocdbCluster#cluster_members}.
        Returns:
        this
      • dbClusterParameterGroupName

        @Stability(Stable)
        public DocdbClusterConfig.Builder dbClusterParameterGroupName​(String dbClusterParameterGroupName)
        Parameters:
        dbClusterParameterGroupName - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/docdb_cluster#db_cluster_parameter_group_name DocdbCluster#db_cluster_parameter_group_name}.
        Returns:
        this
      • dbSubnetGroupName

        @Stability(Stable)
        public DocdbClusterConfig.Builder dbSubnetGroupName​(String dbSubnetGroupName)
        Parameters:
        dbSubnetGroupName - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/docdb_cluster#db_subnet_group_name DocdbCluster#db_subnet_group_name}.
        Returns:
        this
      • deletionProtection

        @Stability(Stable)
        public DocdbClusterConfig.Builder deletionProtection​(Boolean deletionProtection)
        Parameters:
        deletionProtection - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/docdb_cluster#deletion_protection DocdbCluster#deletion_protection}.
        Returns:
        this
      • deletionProtection

        @Stability(Stable)
        public DocdbClusterConfig.Builder deletionProtection​(com.hashicorp.cdktf.IResolvable deletionProtection)
        Parameters:
        deletionProtection - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/docdb_cluster#deletion_protection DocdbCluster#deletion_protection}.
        Returns:
        this
      • enabledCloudwatchLogsExports

        @Stability(Stable)
        public DocdbClusterConfig.Builder enabledCloudwatchLogsExports​(List<String> enabledCloudwatchLogsExports)
        Parameters:
        enabledCloudwatchLogsExports - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/docdb_cluster#enabled_cloudwatch_logs_exports DocdbCluster#enabled_cloudwatch_logs_exports}.
        Returns:
        this
      • engine

        @Stability(Stable)
        public DocdbClusterConfig.Builder engine​(String engine)
        Parameters:
        engine - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/docdb_cluster#engine DocdbCluster#engine}.
        Returns:
        this
      • engineVersion

        @Stability(Stable)
        public DocdbClusterConfig.Builder engineVersion​(String engineVersion)
        Parameters:
        engineVersion - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/docdb_cluster#engine_version DocdbCluster#engine_version}.
        Returns:
        this
      • finalSnapshotIdentifier

        @Stability(Stable)
        public DocdbClusterConfig.Builder finalSnapshotIdentifier​(String finalSnapshotIdentifier)
        Parameters:
        finalSnapshotIdentifier - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/docdb_cluster#final_snapshot_identifier DocdbCluster#final_snapshot_identifier}.
        Returns:
        this
      • globalClusterIdentifier

        @Stability(Stable)
        public DocdbClusterConfig.Builder globalClusterIdentifier​(String globalClusterIdentifier)
        Parameters:
        globalClusterIdentifier - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/docdb_cluster#global_cluster_identifier DocdbCluster#global_cluster_identifier}.
        Returns:
        this
      • id

        @Stability(Stable)
        public DocdbClusterConfig.Builder id​(String id)
        Sets the value of DocdbClusterConfig.getId()
        Parameters:
        id - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/docdb_cluster#id DocdbCluster#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
      • kmsKeyId

        @Stability(Stable)
        public DocdbClusterConfig.Builder kmsKeyId​(String kmsKeyId)
        Parameters:
        kmsKeyId - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/docdb_cluster#kms_key_id DocdbCluster#kms_key_id}.
        Returns:
        this
      • masterPassword

        @Stability(Stable)
        public DocdbClusterConfig.Builder masterPassword​(String masterPassword)
        Parameters:
        masterPassword - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/docdb_cluster#master_password DocdbCluster#master_password}.
        Returns:
        this
      • masterUsername

        @Stability(Stable)
        public DocdbClusterConfig.Builder masterUsername​(String masterUsername)
        Parameters:
        masterUsername - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/docdb_cluster#master_username DocdbCluster#master_username}.
        Returns:
        this
      • port

        @Stability(Stable)
        public DocdbClusterConfig.Builder port​(Number port)
        Parameters:
        port - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/docdb_cluster#port DocdbCluster#port}.
        Returns:
        this
      • preferredBackupWindow

        @Stability(Stable)
        public DocdbClusterConfig.Builder preferredBackupWindow​(String preferredBackupWindow)
        Parameters:
        preferredBackupWindow - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/docdb_cluster#preferred_backup_window DocdbCluster#preferred_backup_window}.
        Returns:
        this
      • preferredMaintenanceWindow

        @Stability(Stable)
        public DocdbClusterConfig.Builder preferredMaintenanceWindow​(String preferredMaintenanceWindow)
        Parameters:
        preferredMaintenanceWindow - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/docdb_cluster#preferred_maintenance_window DocdbCluster#preferred_maintenance_window}.
        Returns:
        this
      • skipFinalSnapshot

        @Stability(Stable)
        public DocdbClusterConfig.Builder skipFinalSnapshot​(Boolean skipFinalSnapshot)
        Parameters:
        skipFinalSnapshot - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/docdb_cluster#skip_final_snapshot DocdbCluster#skip_final_snapshot}.
        Returns:
        this
      • skipFinalSnapshot

        @Stability(Stable)
        public DocdbClusterConfig.Builder skipFinalSnapshot​(com.hashicorp.cdktf.IResolvable skipFinalSnapshot)
        Parameters:
        skipFinalSnapshot - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/docdb_cluster#skip_final_snapshot DocdbCluster#skip_final_snapshot}.
        Returns:
        this
      • snapshotIdentifier

        @Stability(Stable)
        public DocdbClusterConfig.Builder snapshotIdentifier​(String snapshotIdentifier)
        Parameters:
        snapshotIdentifier - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/docdb_cluster#snapshot_identifier DocdbCluster#snapshot_identifier}.
        Returns:
        this
      • storageEncrypted

        @Stability(Stable)
        public DocdbClusterConfig.Builder storageEncrypted​(Boolean storageEncrypted)
        Parameters:
        storageEncrypted - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/docdb_cluster#storage_encrypted DocdbCluster#storage_encrypted}.
        Returns:
        this
      • storageEncrypted

        @Stability(Stable)
        public DocdbClusterConfig.Builder storageEncrypted​(com.hashicorp.cdktf.IResolvable storageEncrypted)
        Parameters:
        storageEncrypted - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/docdb_cluster#storage_encrypted DocdbCluster#storage_encrypted}.
        Returns:
        this
      • vpcSecurityGroupIds

        @Stability(Stable)
        public DocdbClusterConfig.Builder vpcSecurityGroupIds​(List<String> vpcSecurityGroupIds)
        Parameters:
        vpcSecurityGroupIds - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/docdb_cluster#vpc_security_group_ids DocdbCluster#vpc_security_group_ids}.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public DocdbClusterConfig.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public DocdbClusterConfig.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • count

        @Stability(Experimental)
        public DocdbClusterConfig.Builder count​(Number count)
        Sets the value of TerraformMetaArguments.getCount()
        Parameters:
        count - the value to be set.
        Returns:
        this
      • count

        @Stability(Experimental)
        public DocdbClusterConfig.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Sets the value of TerraformMetaArguments.getCount()
        Parameters:
        count - the value to be set.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public DocdbClusterConfig.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Sets the value of TerraformMetaArguments.getDependsOn()
        Parameters:
        dependsOn - the value to be set.
        Returns:
        this
      • forEach

        @Stability(Experimental)
        public DocdbClusterConfig.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Sets the value of TerraformMetaArguments.getForEach()
        Parameters:
        forEach - the value to be set.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public DocdbClusterConfig.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Sets the value of TerraformMetaArguments.getLifecycle()
        Parameters:
        lifecycle - the value to be set.
        Returns:
        this
      • provider

        @Stability(Experimental)
        public DocdbClusterConfig.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Sets the value of TerraformMetaArguments.getProvider()
        Parameters:
        provider - the value to be set.
        Returns:
        this
      • provisioners

        @Stability(Experimental)
        public DocdbClusterConfig.Builder provisioners​(List<? extends Object> provisioners)
        Sets the value of TerraformMetaArguments.getProvisioners()
        Parameters:
        provisioners - the value to be set.
        Returns:
        this