@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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, 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, withSdkRequestTimeout
public 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 Object
Object.toString()
public CreateDiskSnapshotRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.