public static interface CopySnapshotRequest.Builder extends ElastiCacheRequest.Builder, CopyableBuilder<CopySnapshotRequest.Builder,CopySnapshotRequest>
Modifier and Type | Method and Description |
---|---|
CopySnapshotRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CopySnapshotRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CopySnapshotRequest.Builder |
sourceSnapshotName(String sourceSnapshotName)
The name of an existing snapshot from which to make a copy.
|
CopySnapshotRequest.Builder |
targetBucket(String targetBucket)
The Amazon S3 bucket to which the snapshot is exported.
|
CopySnapshotRequest.Builder |
targetSnapshotName(String targetSnapshotName)
A name for the snapshot copy.
|
build
overrideConfiguration
copy
applyMutation, build
CopySnapshotRequest.Builder sourceSnapshotName(String sourceSnapshotName)
The name of an existing snapshot from which to make a copy.
sourceSnapshotName
- The name of an existing snapshot from which to make a copy.CopySnapshotRequest.Builder targetSnapshotName(String targetSnapshotName)
A name for the snapshot copy. ElastiCache does not permit overwriting a snapshot, therefore this name must be unique within its context - ElastiCache or an Amazon S3 bucket if exporting.
targetSnapshotName
- A name for the snapshot copy. ElastiCache does not permit overwriting a snapshot, therefore this name
must be unique within its context - ElastiCache or an Amazon S3 bucket if exporting.CopySnapshotRequest.Builder targetBucket(String targetBucket)
The Amazon S3 bucket to which the snapshot is exported. This parameter is used only when exporting a snapshot for external access.
When using this parameter to export a snapshot, be sure Amazon ElastiCache has the needed permissions to this S3 bucket. For more information, see Step 2: Grant ElastiCache Access to Your Amazon S3 Bucket in the Amazon ElastiCache User Guide.
For more information, see Exporting a Snapshot in the Amazon ElastiCache User Guide.
targetBucket
- The Amazon S3 bucket to which the snapshot is exported. This parameter is used only when exporting a
snapshot for external access.
When using this parameter to export a snapshot, be sure Amazon ElastiCache has the needed permissions to this S3 bucket. For more information, see Step 2: Grant ElastiCache Access to Your Amazon S3 Bucket in the Amazon ElastiCache User Guide.
For more information, see Exporting a Snapshot in the Amazon ElastiCache User Guide.
CopySnapshotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CopySnapshotRequest.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.