Package com.pulumi.aws.redshift.inputs
Class SnapshotCopyState.Builder
- java.lang.Object
-
- com.pulumi.aws.redshift.inputs.SnapshotCopyState.Builder
-
- Enclosing class:
- SnapshotCopyState
public static final class SnapshotCopyState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(SnapshotCopyState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SnapshotCopyStatebuild()SnapshotCopyState.BuilderclusterIdentifier(com.pulumi.core.Output<java.lang.String> clusterIdentifier)SnapshotCopyState.BuilderclusterIdentifier(java.lang.String clusterIdentifier)SnapshotCopyState.BuilderdestinationRegion(com.pulumi.core.Output<java.lang.String> destinationRegion)SnapshotCopyState.BuilderdestinationRegion(java.lang.String destinationRegion)SnapshotCopyState.BuildermanualSnapshotRetentionPeriod(com.pulumi.core.Output<java.lang.Integer> manualSnapshotRetentionPeriod)SnapshotCopyState.BuildermanualSnapshotRetentionPeriod(java.lang.Integer manualSnapshotRetentionPeriod)SnapshotCopyState.Builderregion(com.pulumi.core.Output<java.lang.String> region)SnapshotCopyState.Builderregion(java.lang.String region)SnapshotCopyState.BuilderretentionPeriod(com.pulumi.core.Output<java.lang.Integer> retentionPeriod)SnapshotCopyState.BuilderretentionPeriod(java.lang.Integer retentionPeriod)SnapshotCopyState.BuildersnapshotCopyGrantName(com.pulumi.core.Output<java.lang.String> snapshotCopyGrantName)SnapshotCopyState.BuildersnapshotCopyGrantName(java.lang.String snapshotCopyGrantName)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(SnapshotCopyState defaults)
-
-
Method Detail
-
clusterIdentifier
public SnapshotCopyState.Builder clusterIdentifier(@Nullable com.pulumi.core.Output<java.lang.String> clusterIdentifier)
- Parameters:
clusterIdentifier- Identifier of the source cluster.- Returns:
- builder
-
clusterIdentifier
public SnapshotCopyState.Builder clusterIdentifier(java.lang.String clusterIdentifier)
- Parameters:
clusterIdentifier- Identifier of the source cluster.- Returns:
- builder
-
destinationRegion
public SnapshotCopyState.Builder destinationRegion(@Nullable com.pulumi.core.Output<java.lang.String> destinationRegion)
- Parameters:
destinationRegion- AWS Region to copy snapshots to. The following arguments are optional:- Returns:
- builder
-
destinationRegion
public SnapshotCopyState.Builder destinationRegion(java.lang.String destinationRegion)
- Parameters:
destinationRegion- AWS Region to copy snapshots to. The following arguments are optional:- Returns:
- builder
-
manualSnapshotRetentionPeriod
public SnapshotCopyState.Builder manualSnapshotRetentionPeriod(@Nullable com.pulumi.core.Output<java.lang.Integer> manualSnapshotRetentionPeriod)
- Parameters:
manualSnapshotRetentionPeriod- Number of days to retain newly copied snapshots in the destination AWS Region after they are copied from the source AWS Region. If the value is `-1`, the manual snapshot is retained indefinitely.- Returns:
- builder
-
manualSnapshotRetentionPeriod
public SnapshotCopyState.Builder manualSnapshotRetentionPeriod(java.lang.Integer manualSnapshotRetentionPeriod)
- Parameters:
manualSnapshotRetentionPeriod- Number of days to retain newly copied snapshots in the destination AWS Region after they are copied from the source AWS Region. If the value is `-1`, the manual snapshot is retained indefinitely.- Returns:
- builder
-
region
public SnapshotCopyState.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 SnapshotCopyState.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
-
retentionPeriod
public SnapshotCopyState.Builder retentionPeriod(@Nullable com.pulumi.core.Output<java.lang.Integer> retentionPeriod)
- Parameters:
retentionPeriod- Number of days to retain automated snapshots in the destination region after they are copied from the source region.- Returns:
- builder
-
retentionPeriod
public SnapshotCopyState.Builder retentionPeriod(java.lang.Integer retentionPeriod)
- Parameters:
retentionPeriod- Number of days to retain automated snapshots in the destination region after they are copied from the source region.- Returns:
- builder
-
snapshotCopyGrantName
public SnapshotCopyState.Builder snapshotCopyGrantName(@Nullable com.pulumi.core.Output<java.lang.String> snapshotCopyGrantName)
- Parameters:
snapshotCopyGrantName- Name of the snapshot copy grant to use when snapshots of an AWS KMS-encrypted cluster are copied to the destination region.- Returns:
- builder
-
snapshotCopyGrantName
public SnapshotCopyState.Builder snapshotCopyGrantName(java.lang.String snapshotCopyGrantName)
- Parameters:
snapshotCopyGrantName- Name of the snapshot copy grant to use when snapshots of an AWS KMS-encrypted cluster are copied to the destination region.- Returns:
- builder
-
build
public SnapshotCopyState build()
-
-