Class ClusterState.Builder

  • Enclosing class:
    ClusterState

    public static final class ClusterState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • allowMajorVersionUpgrade

        public ClusterState.Builder allowMajorVersionUpgrade​(@Nullable
                                                             com.pulumi.core.Output<java.lang.Boolean> allowMajorVersionUpgrade)
        Parameters:
        allowMajorVersionUpgrade - A value that indicates whether major version upgrades are allowed. Constraints: You must allow major version upgrades when specifying a value for the EngineVersion parameter that is a different major version than the DB cluster's current version.
        Returns:
        builder
      • allowMajorVersionUpgrade

        public ClusterState.Builder allowMajorVersionUpgrade​(java.lang.Boolean allowMajorVersionUpgrade)
        Parameters:
        allowMajorVersionUpgrade - A value that indicates whether major version upgrades are allowed. Constraints: You must allow major version upgrades when specifying a value for the EngineVersion parameter that is a different major version than the DB cluster's current version.
        Returns:
        builder
      • applyImmediately

        public ClusterState.Builder applyImmediately​(@Nullable
                                                     com.pulumi.core.Output<java.lang.Boolean> applyImmediately)
        Parameters:
        applyImmediately - Specifies whether any cluster modifications are applied immediately, or during the next maintenance window. Default is `false`.
        Returns:
        builder
      • applyImmediately

        public ClusterState.Builder applyImmediately​(java.lang.Boolean applyImmediately)
        Parameters:
        applyImmediately - Specifies whether any cluster modifications are applied immediately, or during the next maintenance window. Default is `false`.
        Returns:
        builder
      • arn

        public ClusterState.Builder arn​(@Nullable
                                        com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of cluster
        Returns:
        builder
      • arn

        public ClusterState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of cluster
        Returns:
        builder
      • availabilityZones

        public ClusterState.Builder availabilityZones​(@Nullable
                                                      com.pulumi.core.Output<java.util.List<java.lang.String>> availabilityZones)
        Parameters:
        availabilityZones - A list of EC2 Availability Zones that instances in the DB cluster can be created in. DocumentDB automatically assigns 3 AZs if less than 3 AZs are configured, which will show as a difference requiring resource recreation next pulumi up. We recommend specifying 3 AZs or using the `lifecycle` configuration block `ignoreChanges` argument if necessary. At most 3 AZs can be configured. **Note:** Do not set `availabilityZones` to the output of a data source such as `aws.getAvailabilityZones`, as this may be subject to change (for example, when a new AZ is added to a Region). Because changing `availabilityZones` forces replacement, any change to the set of values will plan to destroy and recreate the cluster. Always use an explicit, static list of AZs.
        Returns:
        builder
      • availabilityZones

        public ClusterState.Builder availabilityZones​(java.util.List<java.lang.String> availabilityZones)
        Parameters:
        availabilityZones - A list of EC2 Availability Zones that instances in the DB cluster can be created in. DocumentDB automatically assigns 3 AZs if less than 3 AZs are configured, which will show as a difference requiring resource recreation next pulumi up. We recommend specifying 3 AZs or using the `lifecycle` configuration block `ignoreChanges` argument if necessary. At most 3 AZs can be configured. **Note:** Do not set `availabilityZones` to the output of a data source such as `aws.getAvailabilityZones`, as this may be subject to change (for example, when a new AZ is added to a Region). Because changing `availabilityZones` forces replacement, any change to the set of values will plan to destroy and recreate the cluster. Always use an explicit, static list of AZs.
        Returns:
        builder
      • availabilityZones

        public ClusterState.Builder availabilityZones​(java.lang.String... availabilityZones)
        Parameters:
        availabilityZones - A list of EC2 Availability Zones that instances in the DB cluster can be created in. DocumentDB automatically assigns 3 AZs if less than 3 AZs are configured, which will show as a difference requiring resource recreation next pulumi up. We recommend specifying 3 AZs or using the `lifecycle` configuration block `ignoreChanges` argument if necessary. At most 3 AZs can be configured. **Note:** Do not set `availabilityZones` to the output of a data source such as `aws.getAvailabilityZones`, as this may be subject to change (for example, when a new AZ is added to a Region). Because changing `availabilityZones` forces replacement, any change to the set of values will plan to destroy and recreate the cluster. Always use an explicit, static list of AZs.
        Returns:
        builder
      • backupRetentionPeriod

        public ClusterState.Builder backupRetentionPeriod​(@Nullable
                                                          com.pulumi.core.Output<java.lang.Integer> backupRetentionPeriod)
        Parameters:
        backupRetentionPeriod - The days to retain backups for. Default `1`
        Returns:
        builder
      • backupRetentionPeriod

        public ClusterState.Builder backupRetentionPeriod​(java.lang.Integer backupRetentionPeriod)
        Parameters:
        backupRetentionPeriod - The days to retain backups for. Default `1`
        Returns:
        builder
      • clusterIdentifier

        public ClusterState.Builder clusterIdentifier​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> clusterIdentifier)
        Parameters:
        clusterIdentifier - The cluster identifier. If omitted, the provider will assign a random, unique identifier.
        Returns:
        builder
      • clusterIdentifier

        public ClusterState.Builder clusterIdentifier​(java.lang.String clusterIdentifier)
        Parameters:
        clusterIdentifier - The cluster identifier. If omitted, the provider will assign a random, unique identifier.
        Returns:
        builder
      • clusterIdentifierPrefix

        public ClusterState.Builder clusterIdentifierPrefix​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> clusterIdentifierPrefix)
        Parameters:
        clusterIdentifierPrefix - Creates a unique cluster identifier beginning with the specified prefix. Conflicts with `clusterIdentifier`.
        Returns:
        builder
      • clusterIdentifierPrefix

        public ClusterState.Builder clusterIdentifierPrefix​(java.lang.String clusterIdentifierPrefix)
        Parameters:
        clusterIdentifierPrefix - Creates a unique cluster identifier beginning with the specified prefix. Conflicts with `clusterIdentifier`.
        Returns:
        builder
      • clusterMembers

        public ClusterState.Builder clusterMembers​(@Nullable
                                                   com.pulumi.core.Output<java.util.List<java.lang.String>> clusterMembers)
        Parameters:
        clusterMembers - List of DocumentDB Instances that are a part of this cluster
        Returns:
        builder
      • clusterMembers

        public ClusterState.Builder clusterMembers​(java.util.List<java.lang.String> clusterMembers)
        Parameters:
        clusterMembers - List of DocumentDB Instances that are a part of this cluster
        Returns:
        builder
      • clusterMembers

        public ClusterState.Builder clusterMembers​(java.lang.String... clusterMembers)
        Parameters:
        clusterMembers - List of DocumentDB Instances that are a part of this cluster
        Returns:
        builder
      • clusterResourceId

        public ClusterState.Builder clusterResourceId​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> clusterResourceId)
        Parameters:
        clusterResourceId - The DocumentDB Cluster Resource ID
        Returns:
        builder
      • clusterResourceId

        public ClusterState.Builder clusterResourceId​(java.lang.String clusterResourceId)
        Parameters:
        clusterResourceId - The DocumentDB Cluster Resource ID
        Returns:
        builder
      • dbClusterParameterGroupName

        public ClusterState.Builder dbClusterParameterGroupName​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> dbClusterParameterGroupName)
        Parameters:
        dbClusterParameterGroupName - A cluster parameter group to associate with the cluster.
        Returns:
        builder
      • dbClusterParameterGroupName

        public ClusterState.Builder dbClusterParameterGroupName​(java.lang.String dbClusterParameterGroupName)
        Parameters:
        dbClusterParameterGroupName - A cluster parameter group to associate with the cluster.
        Returns:
        builder
      • dbSubnetGroupName

        public ClusterState.Builder dbSubnetGroupName​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> dbSubnetGroupName)
        Parameters:
        dbSubnetGroupName - A DB subnet group to associate with this DB instance.
        Returns:
        builder
      • dbSubnetGroupName

        public ClusterState.Builder dbSubnetGroupName​(java.lang.String dbSubnetGroupName)
        Parameters:
        dbSubnetGroupName - A DB subnet group to associate with this DB instance.
        Returns:
        builder
      • deletionProtection

        public ClusterState.Builder deletionProtection​(@Nullable
                                                       com.pulumi.core.Output<java.lang.Boolean> deletionProtection)
        Parameters:
        deletionProtection - A boolean value that indicates whether the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled. Defaults to `false`.
        Returns:
        builder
      • deletionProtection

        public ClusterState.Builder deletionProtection​(java.lang.Boolean deletionProtection)
        Parameters:
        deletionProtection - A boolean value that indicates whether the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled. Defaults to `false`.
        Returns:
        builder
      • enabledCloudwatchLogsExports

        public ClusterState.Builder enabledCloudwatchLogsExports​(@Nullable
                                                                 com.pulumi.core.Output<java.util.List<java.lang.String>> enabledCloudwatchLogsExports)
        Parameters:
        enabledCloudwatchLogsExports - List of log types to export to CloudWatch. If omitted, no logs will be exported. The following log types are supported: `audit`, `profiler`.
        Returns:
        builder
      • enabledCloudwatchLogsExports

        public ClusterState.Builder enabledCloudwatchLogsExports​(java.util.List<java.lang.String> enabledCloudwatchLogsExports)
        Parameters:
        enabledCloudwatchLogsExports - List of log types to export to CloudWatch. If omitted, no logs will be exported. The following log types are supported: `audit`, `profiler`.
        Returns:
        builder
      • enabledCloudwatchLogsExports

        public ClusterState.Builder enabledCloudwatchLogsExports​(java.lang.String... enabledCloudwatchLogsExports)
        Parameters:
        enabledCloudwatchLogsExports - List of log types to export to CloudWatch. If omitted, no logs will be exported. The following log types are supported: `audit`, `profiler`.
        Returns:
        builder
      • endpoint

        public ClusterState.Builder endpoint​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> endpoint)
        Parameters:
        endpoint - The DNS address of the DocumentDB instance
        Returns:
        builder
      • endpoint

        public ClusterState.Builder endpoint​(java.lang.String endpoint)
        Parameters:
        endpoint - The DNS address of the DocumentDB instance
        Returns:
        builder
      • engine

        public ClusterState.Builder engine​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> engine)
        Parameters:
        engine - The name of the database engine to be used for this DB cluster. Defaults to `docdb`. Valid values: `docdb`.
        Returns:
        builder
      • engine

        public ClusterState.Builder engine​(java.lang.String engine)
        Parameters:
        engine - The name of the database engine to be used for this DB cluster. Defaults to `docdb`. Valid values: `docdb`.
        Returns:
        builder
      • engineVersion

        public ClusterState.Builder engineVersion​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> engineVersion)
        Parameters:
        engineVersion - The database engine version. Updating this argument results in an outage.
        Returns:
        builder
      • engineVersion

        public ClusterState.Builder engineVersion​(java.lang.String engineVersion)
        Parameters:
        engineVersion - The database engine version. Updating this argument results in an outage.
        Returns:
        builder
      • finalSnapshotIdentifier

        public ClusterState.Builder finalSnapshotIdentifier​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> finalSnapshotIdentifier)
        Parameters:
        finalSnapshotIdentifier - The name of your final DB snapshot when this DB cluster is deleted. If omitted, no final snapshot will be made.
        Returns:
        builder
      • finalSnapshotIdentifier

        public ClusterState.Builder finalSnapshotIdentifier​(java.lang.String finalSnapshotIdentifier)
        Parameters:
        finalSnapshotIdentifier - The name of your final DB snapshot when this DB cluster is deleted. If omitted, no final snapshot will be made.
        Returns:
        builder
      • globalClusterIdentifier

        public ClusterState.Builder globalClusterIdentifier​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> globalClusterIdentifier)
        Parameters:
        globalClusterIdentifier - The global cluster identifier specified on `aws.docdb.GlobalCluster`.
        Returns:
        builder
      • globalClusterIdentifier

        public ClusterState.Builder globalClusterIdentifier​(java.lang.String globalClusterIdentifier)
        Parameters:
        globalClusterIdentifier - The global cluster identifier specified on `aws.docdb.GlobalCluster`.
        Returns:
        builder
      • hostedZoneId

        public ClusterState.Builder hostedZoneId​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> hostedZoneId)
        Parameters:
        hostedZoneId - The Route53 Hosted Zone ID of the endpoint
        Returns:
        builder
      • hostedZoneId

        public ClusterState.Builder hostedZoneId​(java.lang.String hostedZoneId)
        Parameters:
        hostedZoneId - The Route53 Hosted Zone ID of the endpoint
        Returns:
        builder
      • kmsKeyId

        public ClusterState.Builder kmsKeyId​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> kmsKeyId)
        Parameters:
        kmsKeyId - The ARN for the KMS encryption key. When specifying `kmsKeyId`, `storageEncrypted` needs to be set to true.
        Returns:
        builder
      • kmsKeyId

        public ClusterState.Builder kmsKeyId​(java.lang.String kmsKeyId)
        Parameters:
        kmsKeyId - The ARN for the KMS encryption key. When specifying `kmsKeyId`, `storageEncrypted` needs to be set to true.
        Returns:
        builder
      • manageMasterUserPassword

        public ClusterState.Builder manageMasterUserPassword​(@Nullable
                                                             com.pulumi.core.Output<java.lang.Boolean> manageMasterUserPassword)
        Parameters:
        manageMasterUserPassword - Set to `true` to allow Amazon DocumentDB to manage the master user password in AWS Secrets Manager. Cannot be set if `masterPassword` or `masterPasswordWo` is provided.
        Returns:
        builder
      • manageMasterUserPassword

        public ClusterState.Builder manageMasterUserPassword​(java.lang.Boolean manageMasterUserPassword)
        Parameters:
        manageMasterUserPassword - Set to `true` to allow Amazon DocumentDB to manage the master user password in AWS Secrets Manager. Cannot be set if `masterPassword` or `masterPasswordWo` is provided.
        Returns:
        builder
      • masterPassword

        public ClusterState.Builder masterPassword​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> masterPassword)
        Parameters:
        masterPassword - Password for the master DB user. Note that this may show up in logs, and it will be stored in the state file. Please refer to the DocumentDB Naming Constraints. Conflicts with `masterPasswordWo` and `manageMasterUserPassword`.
        Returns:
        builder
      • masterPassword

        public ClusterState.Builder masterPassword​(java.lang.String masterPassword)
        Parameters:
        masterPassword - Password for the master DB user. Note that this may show up in logs, and it will be stored in the state file. Please refer to the DocumentDB Naming Constraints. Conflicts with `masterPasswordWo` and `manageMasterUserPassword`.
        Returns:
        builder
      • masterPasswordWo

        public ClusterState.Builder masterPasswordWo​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> masterPasswordWo)
        Parameters:
        masterPasswordWo - **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. Password for the master DB user. Note that this will show up in logs. Please refer to the DocumentDB Naming Constraints. Conflicts with `masterPassword` and `manageMasterUserPassword`. If set, requires `masterPasswordWoVersion` to be set.
        Returns:
        builder
      • masterPasswordWo

        public ClusterState.Builder masterPasswordWo​(java.lang.String masterPasswordWo)
        Parameters:
        masterPasswordWo - **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. Password for the master DB user. Note that this will show up in logs. Please refer to the DocumentDB Naming Constraints. Conflicts with `masterPassword` and `manageMasterUserPassword`. If set, requires `masterPasswordWoVersion` to be set.
        Returns:
        builder
      • masterPasswordWoVersion

        public ClusterState.Builder masterPasswordWoVersion​(@Nullable
                                                            com.pulumi.core.Output<java.lang.Integer> masterPasswordWoVersion)
        Parameters:
        masterPasswordWoVersion - Required when `masterPasswordWo` is set. Changing this value triggers an update to `masterPasswordWo`.
        Returns:
        builder
      • masterPasswordWoVersion

        public ClusterState.Builder masterPasswordWoVersion​(java.lang.Integer masterPasswordWoVersion)
        Parameters:
        masterPasswordWoVersion - Required when `masterPasswordWo` is set. Changing this value triggers an update to `masterPasswordWo`.
        Returns:
        builder
      • masterUsername

        public ClusterState.Builder masterUsername​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> masterUsername)
        Parameters:
        masterUsername - Username for the master DB user.
        Returns:
        builder
      • masterUsername

        public ClusterState.Builder masterUsername​(java.lang.String masterUsername)
        Parameters:
        masterUsername - Username for the master DB user.
        Returns:
        builder
      • networkType

        public ClusterState.Builder networkType​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> networkType)
        Parameters:
        networkType - The network type of the DB cluster (`IPV4` or `DUAL`).
        Returns:
        builder
      • networkType

        public ClusterState.Builder networkType​(java.lang.String networkType)
        Parameters:
        networkType - The network type of the DB cluster (`IPV4` or `DUAL`).
        Returns:
        builder
      • port

        public ClusterState.Builder port​(@Nullable
                                         com.pulumi.core.Output<java.lang.Integer> port)
        Parameters:
        port - The port on which the DB accepts connections
        Returns:
        builder
      • port

        public ClusterState.Builder port​(java.lang.Integer port)
        Parameters:
        port - The port on which the DB accepts connections
        Returns:
        builder
      • preferredBackupWindow

        public ClusterState.Builder preferredBackupWindow​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> preferredBackupWindow)
        Parameters:
        preferredBackupWindow - The daily time range during which automated backups are created if automated backups are enabled using the BackupRetentionPeriod parameter.Time in UTC Default: A 30-minute window selected at random from an 8-hour block of time per regionE.g., 04:00-09:00
        Returns:
        builder
      • preferredBackupWindow

        public ClusterState.Builder preferredBackupWindow​(java.lang.String preferredBackupWindow)
        Parameters:
        preferredBackupWindow - The daily time range during which automated backups are created if automated backups are enabled using the BackupRetentionPeriod parameter.Time in UTC Default: A 30-minute window selected at random from an 8-hour block of time per regionE.g., 04:00-09:00
        Returns:
        builder
      • preferredMaintenanceWindow

        public ClusterState.Builder preferredMaintenanceWindow​(@Nullable
                                                               com.pulumi.core.Output<java.lang.String> preferredMaintenanceWindow)
        Parameters:
        preferredMaintenanceWindow - The weekly time range during which system maintenance can occur, in (UTC) e.g., wed:04:00-wed:04:30
        Returns:
        builder
      • preferredMaintenanceWindow

        public ClusterState.Builder preferredMaintenanceWindow​(java.lang.String preferredMaintenanceWindow)
        Parameters:
        preferredMaintenanceWindow - The weekly time range during which system maintenance can occur, in (UTC) e.g., wed:04:00-wed:04:30
        Returns:
        builder
      • readerEndpoint

        public ClusterState.Builder readerEndpoint​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> readerEndpoint)
        Parameters:
        readerEndpoint - A read-only endpoint for the DocumentDB cluster, automatically load-balanced across replicas
        Returns:
        builder
      • readerEndpoint

        public ClusterState.Builder readerEndpoint​(java.lang.String readerEndpoint)
        Parameters:
        readerEndpoint - A read-only endpoint for the DocumentDB cluster, automatically load-balanced across replicas
        Returns:
        builder
      • region

        public ClusterState.Builder region​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public ClusterState.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • restoreToPointInTime

        public ClusterState.Builder restoreToPointInTime​(@Nullable
                                                         com.pulumi.core.Output<ClusterRestoreToPointInTimeArgs> restoreToPointInTime)
        Parameters:
        restoreToPointInTime - A configuration block for restoring a DB instance to an arbitrary point in time. Requires the `identifier` argument to be set with the name of the new DB instance to be created. See Restore To Point In Time below for details.
        Returns:
        builder
      • restoreToPointInTime

        public ClusterState.Builder restoreToPointInTime​(ClusterRestoreToPointInTimeArgs restoreToPointInTime)
        Parameters:
        restoreToPointInTime - A configuration block for restoring a DB instance to an arbitrary point in time. Requires the `identifier` argument to be set with the name of the new DB instance to be created. See Restore To Point In Time below for details.
        Returns:
        builder
      • serverlessV2ScalingConfiguration

        public ClusterState.Builder serverlessV2ScalingConfiguration​(@Nullable
                                                                     com.pulumi.core.Output<ClusterServerlessV2ScalingConfigurationArgs> serverlessV2ScalingConfiguration)
        Parameters:
        serverlessV2ScalingConfiguration - Scaling configuration of an Amazon DocumentDB Serverless cluster. See Serverless V2 Scaling Configuration below for details.
        Returns:
        builder
      • serverlessV2ScalingConfiguration

        public ClusterState.Builder serverlessV2ScalingConfiguration​(ClusterServerlessV2ScalingConfigurationArgs serverlessV2ScalingConfiguration)
        Parameters:
        serverlessV2ScalingConfiguration - Scaling configuration of an Amazon DocumentDB Serverless cluster. See Serverless V2 Scaling Configuration below for details.
        Returns:
        builder
      • skipFinalSnapshot

        public ClusterState.Builder skipFinalSnapshot​(@Nullable
                                                      com.pulumi.core.Output<java.lang.Boolean> skipFinalSnapshot)
        Parameters:
        skipFinalSnapshot - Determines whether a final DB snapshot is created before the DB cluster is deleted. If true is specified, no DB snapshot is created. If false is specified, a DB snapshot is created before the DB cluster is deleted, using the value from `finalSnapshotIdentifier`. Default is `false`.
        Returns:
        builder
      • skipFinalSnapshot

        public ClusterState.Builder skipFinalSnapshot​(java.lang.Boolean skipFinalSnapshot)
        Parameters:
        skipFinalSnapshot - Determines whether a final DB snapshot is created before the DB cluster is deleted. If true is specified, no DB snapshot is created. If false is specified, a DB snapshot is created before the DB cluster is deleted, using the value from `finalSnapshotIdentifier`. Default is `false`.
        Returns:
        builder
      • snapshotIdentifier

        public ClusterState.Builder snapshotIdentifier​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> snapshotIdentifier)
        Parameters:
        snapshotIdentifier - Specifies whether or not to create this cluster from a snapshot. You can use either the name or ARN when specifying a DB cluster snapshot, or the ARN when specifying a DB snapshot. Automated snapshots **should not** be used for this attribute, unless from a different cluster. Automated snapshots are deleted as part of cluster destruction when the resource is replaced.
        Returns:
        builder
      • snapshotIdentifier

        public ClusterState.Builder snapshotIdentifier​(java.lang.String snapshotIdentifier)
        Parameters:
        snapshotIdentifier - Specifies whether or not to create this cluster from a snapshot. You can use either the name or ARN when specifying a DB cluster snapshot, or the ARN when specifying a DB snapshot. Automated snapshots **should not** be used for this attribute, unless from a different cluster. Automated snapshots are deleted as part of cluster destruction when the resource is replaced.
        Returns:
        builder
      • storageEncrypted

        public ClusterState.Builder storageEncrypted​(@Nullable
                                                     com.pulumi.core.Output<java.lang.Boolean> storageEncrypted)
        Parameters:
        storageEncrypted - Specifies whether the DB cluster is encrypted. The default is `false`.
        Returns:
        builder
      • storageEncrypted

        public ClusterState.Builder storageEncrypted​(java.lang.Boolean storageEncrypted)
        Parameters:
        storageEncrypted - Specifies whether the DB cluster is encrypted. The default is `false`.
        Returns:
        builder
      • storageType

        public ClusterState.Builder storageType​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> storageType)
        Parameters:
        storageType - The storage type to associate with the DB cluster. Valid values: `standard`, `iopt1`.
        Returns:
        builder
      • storageType

        public ClusterState.Builder storageType​(java.lang.String storageType)
        Parameters:
        storageType - The storage type to associate with the DB cluster. Valid values: `standard`, `iopt1`.
        Returns:
        builder
      • tags

        public ClusterState.Builder tags​(@Nullable
                                         com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - A map of tags to assign to the DB cluster. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public ClusterState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - A map of tags to assign to the DB cluster. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        public ClusterState.Builder tagsAll​(@Nullable
                                            com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public ClusterState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • vpcSecurityGroupIds

        public ClusterState.Builder vpcSecurityGroupIds​(@Nullable
                                                        com.pulumi.core.Output<java.util.List<java.lang.String>> vpcSecurityGroupIds)
        Parameters:
        vpcSecurityGroupIds - List of VPC security groups to associate with the Cluster For more detailed documentation about each argument, refer to the [AWS official documentation](https://docs.aws.amazon.com/cli/latest/reference/docdb/create-db-cluster.html).
        Returns:
        builder
      • vpcSecurityGroupIds

        public ClusterState.Builder vpcSecurityGroupIds​(java.util.List<java.lang.String> vpcSecurityGroupIds)
        Parameters:
        vpcSecurityGroupIds - List of VPC security groups to associate with the Cluster For more detailed documentation about each argument, refer to the [AWS official documentation](https://docs.aws.amazon.com/cli/latest/reference/docdb/create-db-cluster.html).
        Returns:
        builder
      • vpcSecurityGroupIds

        public ClusterState.Builder vpcSecurityGroupIds​(java.lang.String... vpcSecurityGroupIds)
        Parameters:
        vpcSecurityGroupIds - List of VPC security groups to associate with the Cluster For more detailed documentation about each argument, refer to the [AWS official documentation](https://docs.aws.amazon.com/cli/latest/reference/docdb/create-db-cluster.html).
        Returns:
        builder