Package com.pulumi.aws.redshift
Class SnapshotCopyArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.redshift.SnapshotCopyArgs.Builder
-
- Enclosing class:
- SnapshotCopyArgs
public static final class SnapshotCopyArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(SnapshotCopyArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SnapshotCopyArgsbuild()SnapshotCopyArgs.BuilderclusterIdentifier(com.pulumi.core.Output<java.lang.String> clusterIdentifier)SnapshotCopyArgs.BuilderclusterIdentifier(java.lang.String clusterIdentifier)SnapshotCopyArgs.BuilderdestinationRegion(com.pulumi.core.Output<java.lang.String> destinationRegion)SnapshotCopyArgs.BuilderdestinationRegion(java.lang.String destinationRegion)SnapshotCopyArgs.BuildermanualSnapshotRetentionPeriod(com.pulumi.core.Output<java.lang.Integer> manualSnapshotRetentionPeriod)SnapshotCopyArgs.BuildermanualSnapshotRetentionPeriod(java.lang.Integer manualSnapshotRetentionPeriod)SnapshotCopyArgs.Builderregion(com.pulumi.core.Output<java.lang.String> region)SnapshotCopyArgs.Builderregion(java.lang.String region)SnapshotCopyArgs.BuilderretentionPeriod(com.pulumi.core.Output<java.lang.Integer> retentionPeriod)SnapshotCopyArgs.BuilderretentionPeriod(java.lang.Integer retentionPeriod)SnapshotCopyArgs.BuildersnapshotCopyGrantName(com.pulumi.core.Output<java.lang.String> snapshotCopyGrantName)SnapshotCopyArgs.BuildersnapshotCopyGrantName(java.lang.String snapshotCopyGrantName)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(SnapshotCopyArgs defaults)
-
-
Method Detail
-
clusterIdentifier
public SnapshotCopyArgs.Builder clusterIdentifier(com.pulumi.core.Output<java.lang.String> clusterIdentifier)
- Parameters:
clusterIdentifier- Identifier of the source cluster.- Returns:
- builder
-
clusterIdentifier
public SnapshotCopyArgs.Builder clusterIdentifier(java.lang.String clusterIdentifier)
- Parameters:
clusterIdentifier- Identifier of the source cluster.- Returns:
- builder
-
destinationRegion
public SnapshotCopyArgs.Builder destinationRegion(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 SnapshotCopyArgs.Builder destinationRegion(java.lang.String destinationRegion)
- Parameters:
destinationRegion- AWS Region to copy snapshots to. The following arguments are optional:- Returns:
- builder
-
manualSnapshotRetentionPeriod
public SnapshotCopyArgs.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 SnapshotCopyArgs.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 SnapshotCopyArgs.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 SnapshotCopyArgs.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 SnapshotCopyArgs.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 SnapshotCopyArgs.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 SnapshotCopyArgs.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 SnapshotCopyArgs.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 SnapshotCopyArgs build()
-
-