Class NeptuneClusterConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • allowMajorVersionUpgrade

        @Stability(Stable)
        public NeptuneClusterConfig.Builder allowMajorVersionUpgrade​(Boolean allowMajorVersionUpgrade)
        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)
        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)
        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)
        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)
        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)
        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)
        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)
        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)
        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)
        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)
        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)
        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)
        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)
        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)
        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)
        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)
        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)
        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)
        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
      • id

        @Stability(Stable)
        public NeptuneClusterConfig.Builder id​(String id)
        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)
        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)
        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)
        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)
        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)
        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)
        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)
        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)
        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
      • skipFinalSnapshot

        @Stability(Stable)
        public NeptuneClusterConfig.Builder skipFinalSnapshot​(Boolean skipFinalSnapshot)
        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)
        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)
        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)
        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)
        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
      • vpcSecurityGroupIds

        @Stability(Stable)
        public NeptuneClusterConfig.Builder vpcSecurityGroupIds​(List<String> vpcSecurityGroupIds)
        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 of TerraformMetaArguments.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 of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • count

        @Stability(Experimental)
        public NeptuneClusterConfig.Builder count​(Number count)
        Sets the value of TerraformMetaArguments.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 of TerraformMetaArguments.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 of TerraformMetaArguments.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 of TerraformMetaArguments.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 of TerraformMetaArguments.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 of TerraformMetaArguments.getProvider()
        Parameters:
        provider - the value to be set.
        Returns:
        this
      • provisioners

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