public static interface CopyClusterSnapshotRequest.Builder extends RedshiftRequest.Builder, SdkPojo, CopyableBuilder<CopyClusterSnapshotRequest.Builder,CopyClusterSnapshotRequest>
Modifier and Type | Method and Description |
---|---|
CopyClusterSnapshotRequest.Builder |
manualSnapshotRetentionPeriod(Integer manualSnapshotRetentionPeriod)
The number of days that a manual snapshot is retained.
|
CopyClusterSnapshotRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CopyClusterSnapshotRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CopyClusterSnapshotRequest.Builder |
sourceSnapshotClusterIdentifier(String sourceSnapshotClusterIdentifier)
The identifier of the cluster the source snapshot was created from.
|
CopyClusterSnapshotRequest.Builder |
sourceSnapshotIdentifier(String sourceSnapshotIdentifier)
The identifier for the source snapshot.
|
CopyClusterSnapshotRequest.Builder |
targetSnapshotIdentifier(String targetSnapshotIdentifier)
The identifier given to the new manual snapshot.
|
build
overrideConfiguration
copy
applyMutation, build
CopyClusterSnapshotRequest.Builder sourceSnapshotIdentifier(String sourceSnapshotIdentifier)
The identifier for the source snapshot.
Constraints:
Must be the identifier for a valid automated snapshot whose state is available
.
sourceSnapshotIdentifier
- The identifier for the source snapshot.
Constraints:
Must be the identifier for a valid automated snapshot whose state is available
.
CopyClusterSnapshotRequest.Builder sourceSnapshotClusterIdentifier(String sourceSnapshotClusterIdentifier)
The identifier of the cluster the source snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.
Constraints:
Must be the identifier for a valid cluster.
sourceSnapshotClusterIdentifier
- The identifier of the cluster the source snapshot was created from. This parameter is required if your
IAM user has a policy containing a snapshot resource element that specifies anything other than * for
the cluster name.
Constraints:
Must be the identifier for a valid cluster.
CopyClusterSnapshotRequest.Builder targetSnapshotIdentifier(String targetSnapshotIdentifier)
The identifier given to the new manual snapshot.
Constraints:
Cannot be null, empty, or blank.
Must contain from 1 to 255 alphanumeric characters or hyphens.
First character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Must be unique for the AWS account that is making the request.
targetSnapshotIdentifier
- The identifier given to the new manual snapshot.
Constraints:
Cannot be null, empty, or blank.
Must contain from 1 to 255 alphanumeric characters or hyphens.
First character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Must be unique for the AWS account that is making the request.
CopyClusterSnapshotRequest.Builder manualSnapshotRetentionPeriod(Integer manualSnapshotRetentionPeriod)
The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely.
The value must be either -1 or an integer between 1 and 3,653.
The default value is -1.
manualSnapshotRetentionPeriod
- The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is
retained indefinitely.
The value must be either -1 or an integer between 1 and 3,653.
The default value is -1.
CopyClusterSnapshotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CopyClusterSnapshotRequest.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.