Package com.pulumi.aws.redshift
Class ClusterSnapshotArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.redshift.ClusterSnapshotArgs.Builder
-
- Enclosing class:
- ClusterSnapshotArgs
public static final class ClusterSnapshotArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(ClusterSnapshotArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterSnapshotArgsbuild()ClusterSnapshotArgs.BuilderclusterIdentifier(com.pulumi.core.Output<java.lang.String> clusterIdentifier)ClusterSnapshotArgs.BuilderclusterIdentifier(java.lang.String clusterIdentifier)ClusterSnapshotArgs.BuildermanualSnapshotRetentionPeriod(com.pulumi.core.Output<java.lang.Integer> manualSnapshotRetentionPeriod)ClusterSnapshotArgs.BuildermanualSnapshotRetentionPeriod(java.lang.Integer manualSnapshotRetentionPeriod)ClusterSnapshotArgs.Builderregion(com.pulumi.core.Output<java.lang.String> region)ClusterSnapshotArgs.Builderregion(java.lang.String region)ClusterSnapshotArgs.BuildersnapshotIdentifier(com.pulumi.core.Output<java.lang.String> snapshotIdentifier)ClusterSnapshotArgs.BuildersnapshotIdentifier(java.lang.String snapshotIdentifier)ClusterSnapshotArgs.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)ClusterSnapshotArgs.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ClusterSnapshotArgs defaults)
-
-
Method Detail
-
clusterIdentifier
public ClusterSnapshotArgs.Builder clusterIdentifier(com.pulumi.core.Output<java.lang.String> clusterIdentifier)
- Parameters:
clusterIdentifier- The cluster identifier for which you want a snapshot.- Returns:
- builder
-
clusterIdentifier
public ClusterSnapshotArgs.Builder clusterIdentifier(java.lang.String clusterIdentifier)
- Parameters:
clusterIdentifier- The cluster identifier for which you want a snapshot.- Returns:
- builder
-
manualSnapshotRetentionPeriod
public ClusterSnapshotArgs.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 ClusterSnapshotArgs.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
-
region
public ClusterSnapshotArgs.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 ClusterSnapshotArgs.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 ClusterSnapshotArgs.Builder snapshotIdentifier(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 ClusterSnapshotArgs.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 ClusterSnapshotArgs.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 ClusterSnapshotArgs.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
-
build
public ClusterSnapshotArgs build()
-
-