Package com.pulumi.aws.redshift.inputs
Class ClusterSnapshotState.Builder
- java.lang.Object
-
- com.pulumi.aws.redshift.inputs.ClusterSnapshotState.Builder
-
- Enclosing class:
- ClusterSnapshotState
public static final class ClusterSnapshotState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(ClusterSnapshotState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterSnapshotState.Builderarn(com.pulumi.core.Output<java.lang.String> arn)ClusterSnapshotState.Builderarn(java.lang.String arn)ClusterSnapshotStatebuild()ClusterSnapshotState.BuilderclusterIdentifier(com.pulumi.core.Output<java.lang.String> clusterIdentifier)ClusterSnapshotState.BuilderclusterIdentifier(java.lang.String clusterIdentifier)ClusterSnapshotState.BuilderkmsKeyId(com.pulumi.core.Output<java.lang.String> kmsKeyId)ClusterSnapshotState.BuilderkmsKeyId(java.lang.String kmsKeyId)ClusterSnapshotState.BuildermanualSnapshotRetentionPeriod(com.pulumi.core.Output<java.lang.Integer> manualSnapshotRetentionPeriod)ClusterSnapshotState.BuildermanualSnapshotRetentionPeriod(java.lang.Integer manualSnapshotRetentionPeriod)ClusterSnapshotState.BuilderownerAccount(com.pulumi.core.Output<java.lang.String> ownerAccount)ClusterSnapshotState.BuilderownerAccount(java.lang.String ownerAccount)ClusterSnapshotState.Builderregion(com.pulumi.core.Output<java.lang.String> region)ClusterSnapshotState.Builderregion(java.lang.String region)ClusterSnapshotState.BuildersnapshotIdentifier(com.pulumi.core.Output<java.lang.String> snapshotIdentifier)ClusterSnapshotState.BuildersnapshotIdentifier(java.lang.String snapshotIdentifier)ClusterSnapshotState.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)ClusterSnapshotState.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)ClusterSnapshotState.BuildertagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)ClusterSnapshotState.BuildertagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ClusterSnapshotState defaults)
-
-
Method Detail
-
arn
public ClusterSnapshotState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn- ARN of the snapshot.- Returns:
- builder
-
arn
public ClusterSnapshotState.Builder arn(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
-
build
public ClusterSnapshotState build()
-
-