public class CopySnapshotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
CopySnapshot operation.
The CopySnapshot action makes a copy of an existing snapshot.
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, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic String getSourceSnapshotName()
public void setSourceSnapshotName(String sourceSnapshotName)
sourceSnapshotName - The name of an existing snapshot from which to copy.public CopySnapshotRequest withSourceSnapshotName(String sourceSnapshotName)
Returns a reference to this object so that method calls can be chained together.
sourceSnapshotName - The name of an existing snapshot from which to copy.public String getTargetSnapshotName()
public void setTargetSnapshotName(String targetSnapshotName)
targetSnapshotName - A name for the copied snapshot.public CopySnapshotRequest withTargetSnapshotName(String targetSnapshotName)
Returns a reference to this object so that method calls can be chained together.
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.