public class CreateSnapshotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the inputs for the CreateSnapshot operation.
NOOP| Constructor and Description |
|---|
CreateSnapshotRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateSnapshotRequest |
clone() |
boolean |
equals(Object obj) |
String |
getDirectoryId()
The identifier of the directory to take a snapshot of.
|
String |
getName()
The descriptive name to apply to the snapshot.
|
int |
hashCode() |
void |
setDirectoryId(String directoryId)
The identifier of the directory to take a snapshot of.
|
void |
setName(String name)
The descriptive name to apply to the snapshot.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateSnapshotRequest |
withDirectoryId(String directoryId)
The identifier of the directory to take a snapshot of.
|
CreateSnapshotRequest |
withName(String name)
The descriptive name to apply to the snapshot.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setDirectoryId(String directoryId)
The identifier of the directory to take a snapshot of.
directoryId - The identifier of the directory to take a snapshot of.public String getDirectoryId()
The identifier of the directory to take a snapshot of.
public CreateSnapshotRequest withDirectoryId(String directoryId)
The identifier of the directory to take a snapshot of.
directoryId - The identifier of the directory to take a snapshot of.public void setName(String name)
The descriptive name to apply to the snapshot.
name - The descriptive name to apply to the snapshot.public String getName()
The descriptive name to apply to the snapshot.
public CreateSnapshotRequest withName(String name)
The descriptive name to apply to the snapshot.
name - The descriptive name to apply to the snapshot.public String toString()
toString in class ObjectObject.toString()public CreateSnapshotRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.