CopyableBuilder<CopySnapshotRequest.Builder,CopySnapshotRequest>
, SdkBuilder<CopySnapshotRequest.Builder,CopySnapshotRequest>
public static interface CopySnapshotRequest.Builder extends CopyableBuilder<CopySnapshotRequest.Builder,CopySnapshotRequest>
Modifier and Type | Method | Description |
---|---|---|
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.
|
copy
apply, 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.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.