Class ClusterSnapshotState.Builder

  • Enclosing class:
    ClusterSnapshotState

    public static final class ClusterSnapshotState.Builder
    extends java.lang.Object
    • Method Detail

      • allocatedStorage

        public ClusterSnapshotState.Builder allocatedStorage​(@Nullable
                                                             com.pulumi.core.Output<java.lang.Integer> allocatedStorage)
        Parameters:
        allocatedStorage - Allocated storage size in gigabytes (GB).
        Returns:
        builder
      • allocatedStorage

        public ClusterSnapshotState.Builder allocatedStorage​(java.lang.Integer allocatedStorage)
        Parameters:
        allocatedStorage - Allocated storage size in gigabytes (GB).
        Returns:
        builder
      • availabilityZones

        public ClusterSnapshotState.Builder availabilityZones​(@Nullable
                                                              com.pulumi.core.Output<java.util.List<java.lang.String>> availabilityZones)
        Parameters:
        availabilityZones - List of EC2 Availability Zones that instances in the DB cluster snapshot can be restored in.
        Returns:
        builder
      • availabilityZones

        public ClusterSnapshotState.Builder availabilityZones​(java.util.List<java.lang.String> availabilityZones)
        Parameters:
        availabilityZones - List of EC2 Availability Zones that instances in the DB cluster snapshot can be restored in.
        Returns:
        builder
      • availabilityZones

        public ClusterSnapshotState.Builder availabilityZones​(java.lang.String... availabilityZones)
        Parameters:
        availabilityZones - List of EC2 Availability Zones that instances in the DB cluster snapshot can be restored in.
        Returns:
        builder
      • dbClusterIdentifier

        public ClusterSnapshotState.Builder dbClusterIdentifier​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> dbClusterIdentifier)
        Parameters:
        dbClusterIdentifier - DB Cluster Identifier from which to take the snapshot.
        Returns:
        builder
      • dbClusterIdentifier

        public ClusterSnapshotState.Builder dbClusterIdentifier​(java.lang.String dbClusterIdentifier)
        Parameters:
        dbClusterIdentifier - DB Cluster Identifier from which to take the snapshot.
        Returns:
        builder
      • dbClusterSnapshotArn

        public ClusterSnapshotState.Builder dbClusterSnapshotArn​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.String> dbClusterSnapshotArn)
        Parameters:
        dbClusterSnapshotArn - ARN for the DB Cluster Snapshot.
        Returns:
        builder
      • dbClusterSnapshotArn

        public ClusterSnapshotState.Builder dbClusterSnapshotArn​(java.lang.String dbClusterSnapshotArn)
        Parameters:
        dbClusterSnapshotArn - ARN for the DB Cluster Snapshot.
        Returns:
        builder
      • dbClusterSnapshotIdentifier

        public ClusterSnapshotState.Builder dbClusterSnapshotIdentifier​(@Nullable
                                                                        com.pulumi.core.Output<java.lang.String> dbClusterSnapshotIdentifier)
        Parameters:
        dbClusterSnapshotIdentifier - Identifier for the snapshot.
        Returns:
        builder
      • dbClusterSnapshotIdentifier

        public ClusterSnapshotState.Builder dbClusterSnapshotIdentifier​(java.lang.String dbClusterSnapshotIdentifier)
        Parameters:
        dbClusterSnapshotIdentifier - Identifier for the snapshot.
        Returns:
        builder
      • engine

        public ClusterSnapshotState.Builder engine​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> engine)
        Parameters:
        engine - Name of the database engine.
        Returns:
        builder
      • engine

        public ClusterSnapshotState.Builder engine​(java.lang.String engine)
        Parameters:
        engine - Name of the database engine.
        Returns:
        builder
      • engineVersion

        public ClusterSnapshotState.Builder engineVersion​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> engineVersion)
        Parameters:
        engineVersion - Version of the database engine for this DB cluster snapshot.
        Returns:
        builder
      • engineVersion

        public ClusterSnapshotState.Builder engineVersion​(java.lang.String engineVersion)
        Parameters:
        engineVersion - Version of the database engine for this DB cluster snapshot.
        Returns:
        builder
      • kmsKeyId

        public ClusterSnapshotState.Builder kmsKeyId​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> kmsKeyId)
        Parameters:
        kmsKeyId - If storageEncrypted is true, the AWS KMS key identifier for the encrypted DB cluster snapshot.
        Returns:
        builder
      • kmsKeyId

        public ClusterSnapshotState.Builder kmsKeyId​(java.lang.String kmsKeyId)
        Parameters:
        kmsKeyId - If storageEncrypted is true, the AWS KMS key identifier for the encrypted DB cluster snapshot.
        Returns:
        builder
      • licenseModel

        public ClusterSnapshotState.Builder licenseModel​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> licenseModel)
        Parameters:
        licenseModel - License model information for the restored DB cluster.
        Returns:
        builder
      • licenseModel

        public ClusterSnapshotState.Builder licenseModel​(java.lang.String licenseModel)
        Parameters:
        licenseModel - License model information for the restored DB cluster.
        Returns:
        builder
      • port

        public ClusterSnapshotState.Builder port​(@Nullable
                                                 com.pulumi.core.Output<java.lang.Integer> port)
        Parameters:
        port - Port that the DB cluster was listening on at the time of the snapshot.
        Returns:
        builder
      • port

        public ClusterSnapshotState.Builder port​(java.lang.Integer port)
        Parameters:
        port - Port that the DB cluster was listening on at the time of the snapshot.
        Returns:
        builder
      • region

        public ClusterSnapshotState.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 ClusterSnapshotState.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
      • sharedAccounts

        public ClusterSnapshotState.Builder sharedAccounts​(@Nullable
                                                           com.pulumi.core.Output<java.util.List<java.lang.String>> sharedAccounts)
        Parameters:
        sharedAccounts - List of AWS Account IDs to share the snapshot with. Use `all` to make the snapshot public.
        Returns:
        builder
      • sharedAccounts

        public ClusterSnapshotState.Builder sharedAccounts​(java.util.List<java.lang.String> sharedAccounts)
        Parameters:
        sharedAccounts - List of AWS Account IDs to share the snapshot with. Use `all` to make the snapshot public.
        Returns:
        builder
      • sharedAccounts

        public ClusterSnapshotState.Builder sharedAccounts​(java.lang.String... sharedAccounts)
        Parameters:
        sharedAccounts - List of AWS Account IDs to share the snapshot with. Use `all` to make the snapshot public.
        Returns:
        builder
      • snapshotType

        public ClusterSnapshotState.Builder snapshotType​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> snapshotType)
        Parameters:
        snapshotType - Type of the DB cluster snapshot.
        Returns:
        builder
      • snapshotType

        public ClusterSnapshotState.Builder snapshotType​(java.lang.String snapshotType)
        Parameters:
        snapshotType - Type of the DB cluster snapshot.
        Returns:
        builder
      • sourceDbClusterSnapshotArn

        public ClusterSnapshotState.Builder sourceDbClusterSnapshotArn​(@Nullable
                                                                       com.pulumi.core.Output<java.lang.String> sourceDbClusterSnapshotArn)
        Parameters:
        sourceDbClusterSnapshotArn - DB Cluster Snapshot ARN that the DB Cluster Snapshot was copied from. It only has value in case of cross customer or cross region copy.
        Returns:
        builder
      • sourceDbClusterSnapshotArn

        public ClusterSnapshotState.Builder sourceDbClusterSnapshotArn​(java.lang.String sourceDbClusterSnapshotArn)
        Parameters:
        sourceDbClusterSnapshotArn - DB Cluster Snapshot ARN that the DB Cluster Snapshot was copied from. It only has value in case of cross customer or cross region copy.
        Returns:
        builder
      • status

        public ClusterSnapshotState.Builder status​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> status)
        Parameters:
        status - Status of this DB Cluster Snapshot.
        Returns:
        builder
      • status

        public ClusterSnapshotState.Builder status​(java.lang.String status)
        Parameters:
        status - Status of this DB Cluster Snapshot.
        Returns:
        builder
      • storageEncrypted

        public ClusterSnapshotState.Builder storageEncrypted​(@Nullable
                                                             com.pulumi.core.Output<java.lang.Boolean> storageEncrypted)
        Parameters:
        storageEncrypted - Whether the DB cluster snapshot is encrypted.
        Returns:
        builder
      • storageEncrypted

        public ClusterSnapshotState.Builder storageEncrypted​(java.lang.Boolean storageEncrypted)
        Parameters:
        storageEncrypted - Whether the DB cluster snapshot is encrypted.
        Returns:
        builder
      • tags

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

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

        public ClusterSnapshotState.Builder vpcId​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> vpcId)
        Parameters:
        vpcId - VPC ID associated with the DB cluster snapshot.
        Returns:
        builder
      • vpcId

        public ClusterSnapshotState.Builder vpcId​(java.lang.String vpcId)
        Parameters:
        vpcId - VPC ID associated with the DB cluster snapshot.
        Returns:
        builder