@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CopySnapshotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a CopySnapshotMessage operation.
NOOP| Constructor and Description |
|---|
CopySnapshotRequest() |
| Modifier and Type | Method and Description |
|---|---|
CopySnapshotRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getSourceSnapshotName()
The name of an existing snapshot from which to make a copy.
|
String |
getTargetBucket()
The Amazon S3 bucket to which the snapshot is exported.
|
String |
getTargetSnapshotName()
A name for the snapshot copy.
|
int |
hashCode() |
void |
setSourceSnapshotName(String sourceSnapshotName)
The name of an existing snapshot from which to make a copy.
|
void |
setTargetBucket(String targetBucket)
The Amazon S3 bucket to which the snapshot is exported.
|
void |
setTargetSnapshotName(String targetSnapshotName)
A name for the snapshot copy.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CopySnapshotRequest |
withSourceSnapshotName(String sourceSnapshotName)
The name of an existing snapshot from which to make a copy.
|
CopySnapshotRequest |
withTargetBucket(String targetBucket)
The Amazon S3 bucket to which the snapshot is exported.
|
CopySnapshotRequest |
withTargetSnapshotName(String targetSnapshotName)
A name for the snapshot copy.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setSourceSnapshotName(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.public String getSourceSnapshotName()
The name of an existing snapshot from which to make a copy.
public CopySnapshotRequest withSourceSnapshotName(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.public void setTargetSnapshotName(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.public String getTargetSnapshotName()
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.
public CopySnapshotRequest withTargetSnapshotName(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.public void setTargetBucket(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.
public String getTargetBucket()
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.
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.
public CopySnapshotRequest withTargetBucket(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.
public String toString()
toString in class ObjectObject.toString()public CopySnapshotRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.