@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDiskSnapshotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateDiskSnapshotRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateDiskSnapshotRequest |
clone() |
boolean |
equals(Object obj) |
String |
getDiskName()
The unique name of the source disk (e.g.,
my-source-disk). |
String |
getDiskSnapshotName()
The name of the destination disk snapshot (e.g.,
my-disk-snapshot) based on the source disk. |
int |
hashCode() |
void |
setDiskName(String diskName)
The unique name of the source disk (e.g.,
my-source-disk). |
void |
setDiskSnapshotName(String diskSnapshotName)
The name of the destination disk snapshot (e.g.,
my-disk-snapshot) based on the source disk. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateDiskSnapshotRequest |
withDiskName(String diskName)
The unique name of the source disk (e.g.,
my-source-disk). |
CreateDiskSnapshotRequest |
withDiskSnapshotName(String diskSnapshotName)
The name of the destination disk snapshot (e.g.,
my-disk-snapshot) based on the source disk. |
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 setDiskName(String diskName)
The unique name of the source disk (e.g., my-source-disk).
diskName - The unique name of the source disk (e.g., my-source-disk).public String getDiskName()
The unique name of the source disk (e.g., my-source-disk).
my-source-disk).public CreateDiskSnapshotRequest withDiskName(String diskName)
The unique name of the source disk (e.g., my-source-disk).
diskName - The unique name of the source disk (e.g., my-source-disk).public void setDiskSnapshotName(String diskSnapshotName)
The name of the destination disk snapshot (e.g., my-disk-snapshot) based on the source disk.
diskSnapshotName - The name of the destination disk snapshot (e.g., my-disk-snapshot) based on the source disk.public String getDiskSnapshotName()
The name of the destination disk snapshot (e.g., my-disk-snapshot) based on the source disk.
my-disk-snapshot) based on the source disk.public CreateDiskSnapshotRequest withDiskSnapshotName(String diskSnapshotName)
The name of the destination disk snapshot (e.g., my-disk-snapshot) based on the source disk.
diskSnapshotName - The name of the destination disk snapshot (e.g., my-disk-snapshot) based on the source disk.public String toString()
toString in class ObjectObject.toString()public CreateDiskSnapshotRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2018. All rights reserved.