public class CopySnapshotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a CopySnapshotMessage action.
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 copy.
|
String |
getTargetSnapshotName()
A name for the copied snapshot.
|
int |
hashCode() |
void |
setSourceSnapshotName(String sourceSnapshotName)
The name of an existing snapshot from which to copy.
|
void |
setTargetSnapshotName(String targetSnapshotName)
A name for the copied snapshot.
|
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 copy.
|
CopySnapshotRequest |
withTargetSnapshotName(String targetSnapshotName)
A name for the copied snapshot.
|
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 copy.
sourceSnapshotName - The name of an existing snapshot from which to copy.public String getSourceSnapshotName()
The name of an existing snapshot from which to copy.
public CopySnapshotRequest withSourceSnapshotName(String sourceSnapshotName)
The name of an existing snapshot from which to copy.
sourceSnapshotName - The name of an existing snapshot from which to copy.public void setTargetSnapshotName(String targetSnapshotName)
A name for the copied snapshot.
targetSnapshotName - A name for the copied snapshot.public String getTargetSnapshotName()
A name for the copied snapshot.
public CopySnapshotRequest withTargetSnapshotName(String targetSnapshotName)
A name for the copied snapshot.
targetSnapshotName - A name for the copied snapshot.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.