@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CopySnapshotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CopySnapshotRequest() |
| Modifier and Type | Method and Description |
|---|---|
CopySnapshotRequest |
clone() |
boolean |
equals(Object obj) |
String |
getSourceRegion()
The AWS Region where the source snapshot is located.
|
String |
getSourceSnapshotName()
The name of the source instance or disk snapshot to be copied.
|
String |
getTargetSnapshotName()
The name of the new instance or disk snapshot to be created as a copy.
|
int |
hashCode() |
void |
setSourceRegion(String sourceRegion)
The AWS Region where the source snapshot is located.
|
void |
setSourceSnapshotName(String sourceSnapshotName)
The name of the source instance or disk snapshot to be copied.
|
void |
setTargetSnapshotName(String targetSnapshotName)
The name of the new instance or disk snapshot to be created as a copy.
|
String |
toString()
Returns a string representation of this object.
|
CopySnapshotRequest |
withSourceRegion(RegionName sourceRegion)
The AWS Region where the source snapshot is located.
|
CopySnapshotRequest |
withSourceRegion(String sourceRegion)
The AWS Region where the source snapshot is located.
|
CopySnapshotRequest |
withSourceSnapshotName(String sourceSnapshotName)
The name of the source instance or disk snapshot to be copied.
|
CopySnapshotRequest |
withTargetSnapshotName(String targetSnapshotName)
The name of the new instance or disk snapshot to be created as a copy.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setSourceSnapshotName(String sourceSnapshotName)
The name of the source instance or disk snapshot to be copied.
sourceSnapshotName - The name of the source instance or disk snapshot to be copied.public String getSourceSnapshotName()
The name of the source instance or disk snapshot to be copied.
public CopySnapshotRequest withSourceSnapshotName(String sourceSnapshotName)
The name of the source instance or disk snapshot to be copied.
sourceSnapshotName - The name of the source instance or disk snapshot to be copied.public void setTargetSnapshotName(String targetSnapshotName)
The name of the new instance or disk snapshot to be created as a copy.
targetSnapshotName - The name of the new instance or disk snapshot to be created as a copy.public String getTargetSnapshotName()
The name of the new instance or disk snapshot to be created as a copy.
public CopySnapshotRequest withTargetSnapshotName(String targetSnapshotName)
The name of the new instance or disk snapshot to be created as a copy.
targetSnapshotName - The name of the new instance or disk snapshot to be created as a copy.public void setSourceRegion(String sourceRegion)
The AWS Region where the source snapshot is located.
sourceRegion - The AWS Region where the source snapshot is located.RegionNamepublic String getSourceRegion()
The AWS Region where the source snapshot is located.
RegionNamepublic CopySnapshotRequest withSourceRegion(String sourceRegion)
The AWS Region where the source snapshot is located.
sourceRegion - The AWS Region where the source snapshot is located.RegionNamepublic CopySnapshotRequest withSourceRegion(RegionName sourceRegion)
The AWS Region where the source snapshot is located.
sourceRegion - The AWS Region where the source snapshot is located.RegionNamepublic String toString()
toString in class ObjectObject.toString()public CopySnapshotRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2019. All rights reserved.