@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDirectoryId()
The identifier of the directory of which to take a snapshot.
|
String |
getName()
The descriptive name to apply to the snapshot.
|
int |
hashCode() |
void |
setDirectoryId(String directoryId)
The identifier of the directory of which to take a snapshot.
|
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 of which to take a snapshot.
|
CreateSnapshotRequest |
withName(String name)
The descriptive name to apply to the snapshot.
|
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 setDirectoryId(String directoryId)
The identifier of the directory of which to take a snapshot.
directoryId
- The identifier of the directory of which to take a snapshot.public String getDirectoryId()
The identifier of the directory of which to take a snapshot.
public CreateSnapshotRequest withDirectoryId(String directoryId)
The identifier of the directory of which to take a snapshot.
directoryId
- The identifier of the directory of which to take a snapshot.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 Object
Object.toString()
public CreateSnapshotRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.