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() |
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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public 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 Object
Object.toString()
public CopySnapshotRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.