public static interface EnableSnapshotCopyRequest.Builder extends RedshiftRequest.Builder, CopyableBuilder<EnableSnapshotCopyRequest.Builder,EnableSnapshotCopyRequest>
Modifier and Type | Method and Description |
---|---|
EnableSnapshotCopyRequest.Builder |
clusterIdentifier(String clusterIdentifier)
The unique identifier of the source cluster to copy snapshots from.
|
EnableSnapshotCopyRequest.Builder |
destinationRegion(String destinationRegion)
The destination region that you want to copy snapshots to.
|
EnableSnapshotCopyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
EnableSnapshotCopyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
EnableSnapshotCopyRequest.Builder |
retentionPeriod(Integer retentionPeriod)
The number of days to retain automated snapshots in the destination region after they are copied from the
source region.
|
EnableSnapshotCopyRequest.Builder |
snapshotCopyGrantName(String snapshotCopyGrantName)
The name of the snapshot copy grant to use when snapshots of an AWS KMS-encrypted cluster are copied to the
destination region.
|
build
overrideConfiguration
copy
applyMutation, build
EnableSnapshotCopyRequest.Builder clusterIdentifier(String clusterIdentifier)
The unique identifier of the source cluster to copy snapshots from.
Constraints: Must be the valid name of an existing cluster that does not already have cross-region snapshot copy enabled.
clusterIdentifier
- The unique identifier of the source cluster to copy snapshots from.
Constraints: Must be the valid name of an existing cluster that does not already have cross-region snapshot copy enabled.
EnableSnapshotCopyRequest.Builder destinationRegion(String destinationRegion)
The destination region that you want to copy snapshots to.
Constraints: Must be the name of a valid region. For more information, see Regions and Endpoints in the Amazon Web Services General Reference.
destinationRegion
- The destination region that you want to copy snapshots to.
Constraints: Must be the name of a valid region. For more information, see Regions and Endpoints in the Amazon Web Services General Reference.
EnableSnapshotCopyRequest.Builder retentionPeriod(Integer retentionPeriod)
The number of days to retain automated snapshots in the destination region after they are copied from the source region.
Default: 7.
Constraints: Must be at least 1 and no more than 35.
retentionPeriod
- The number of days to retain automated snapshots in the destination region after they are copied from
the source region.
Default: 7.
Constraints: Must be at least 1 and no more than 35.
EnableSnapshotCopyRequest.Builder snapshotCopyGrantName(String snapshotCopyGrantName)
The name of the snapshot copy grant to use when snapshots of an AWS KMS-encrypted cluster are copied to the destination region.
snapshotCopyGrantName
- The name of the snapshot copy grant to use when snapshots of an AWS KMS-encrypted cluster are copied
to the destination region.EnableSnapshotCopyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.EnableSnapshotCopyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.