Class ClusterSnapshotState.Builder

  • Enclosing class:
    ClusterSnapshotState

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

      • arn

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

        public ClusterSnapshotState.Builder clusterIdentifier​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> clusterIdentifier)
        Parameters:
        clusterIdentifier - The cluster identifier for which you want a snapshot.
        Returns:
        builder
      • clusterIdentifier

        public ClusterSnapshotState.Builder clusterIdentifier​(java.lang.String clusterIdentifier)
        Parameters:
        clusterIdentifier - The cluster identifier for which you want a snapshot.
        Returns:
        builder
      • kmsKeyId

        public ClusterSnapshotState.Builder kmsKeyId​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> kmsKeyId)
        Parameters:
        kmsKeyId - KMS key ID of the encryption key that was used to encrypt data in the cluster from which the snapshot was taken.
        Returns:
        builder
      • kmsKeyId

        public ClusterSnapshotState.Builder kmsKeyId​(java.lang.String kmsKeyId)
        Parameters:
        kmsKeyId - KMS key ID of the encryption key that was used to encrypt data in the cluster from which the snapshot was taken.
        Returns:
        builder
      • manualSnapshotRetentionPeriod

        public ClusterSnapshotState.Builder manualSnapshotRetentionPeriod​(@Nullable
                                                                          com.pulumi.core.Output<java.lang.Integer> manualSnapshotRetentionPeriod)
        Parameters:
        manualSnapshotRetentionPeriod - The number of days that a manual snapshot is retained. If the value is `-1`, the manual snapshot is retained indefinitely. Valid values are -1 and between `1` and `3653`.
        Returns:
        builder
      • manualSnapshotRetentionPeriod

        public ClusterSnapshotState.Builder manualSnapshotRetentionPeriod​(java.lang.Integer manualSnapshotRetentionPeriod)
        Parameters:
        manualSnapshotRetentionPeriod - The number of days that a manual snapshot is retained. If the value is `-1`, the manual snapshot is retained indefinitely. Valid values are -1 and between `1` and `3653`.
        Returns:
        builder
      • ownerAccount

        public ClusterSnapshotState.Builder ownerAccount​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> ownerAccount)
        Parameters:
        ownerAccount - For manual snapshots, the Amazon Web Services account used to create or copy the snapshot. For automatic snapshots, the owner of the cluster. The owner can perform all snapshot actions, such as sharing a manual snapshot.
        Returns:
        builder
      • ownerAccount

        public ClusterSnapshotState.Builder ownerAccount​(java.lang.String ownerAccount)
        Parameters:
        ownerAccount - For manual snapshots, the Amazon Web Services account used to create or copy the snapshot. For automatic snapshots, the owner of the cluster. The owner can perform all snapshot actions, such as sharing a manual 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
      • snapshotIdentifier

        public ClusterSnapshotState.Builder snapshotIdentifier​(@Nullable
                                                               com.pulumi.core.Output<java.lang.String> snapshotIdentifier)
        Parameters:
        snapshotIdentifier - A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the Amazon Web Services account.
        Returns:
        builder
      • snapshotIdentifier

        public ClusterSnapshotState.Builder snapshotIdentifier​(java.lang.String snapshotIdentifier)
        Parameters:
        snapshotIdentifier - A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the Amazon Web Services account.
        Returns:
        builder
      • tags

        public ClusterSnapshotState.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 resource. 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 - A map of tags to assign to the resource. 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 - A 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 - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder