@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSnapshotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A JSON object containing one or more of the following fields:
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 |
getSnapshotDescription()
Textual description of the snapshot that appears in the Amazon EC2 console, Elastic Block Store snapshots panel
in the Description field, and in the AWS Storage Gateway snapshot Details pane, Description
field
|
String |
getVolumeARN()
The Amazon Resource Name (ARN) of the volume.
|
int |
hashCode() |
void |
setSnapshotDescription(String snapshotDescription)
Textual description of the snapshot that appears in the Amazon EC2 console, Elastic Block Store snapshots panel
in the Description field, and in the AWS Storage Gateway snapshot Details pane, Description
field
|
void |
setVolumeARN(String volumeARN)
The Amazon Resource Name (ARN) of the volume.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateSnapshotRequest |
withSnapshotDescription(String snapshotDescription)
Textual description of the snapshot that appears in the Amazon EC2 console, Elastic Block Store snapshots panel
in the Description field, and in the AWS Storage Gateway snapshot Details pane, Description
field
|
CreateSnapshotRequest |
withVolumeARN(String volumeARN)
The Amazon Resource Name (ARN) of the volume.
|
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 setVolumeARN(String volumeARN)
The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.
volumeARN
- The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of
gateway volumes.public String getVolumeARN()
The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.
public CreateSnapshotRequest withVolumeARN(String volumeARN)
The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.
volumeARN
- The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of
gateway volumes.public void setSnapshotDescription(String snapshotDescription)
Textual description of the snapshot that appears in the Amazon EC2 console, Elastic Block Store snapshots panel in the Description field, and in the AWS Storage Gateway snapshot Details pane, Description field
snapshotDescription
- Textual description of the snapshot that appears in the Amazon EC2 console, Elastic Block Store snapshots
panel in the Description field, and in the AWS Storage Gateway snapshot Details pane,
Description fieldpublic String getSnapshotDescription()
Textual description of the snapshot that appears in the Amazon EC2 console, Elastic Block Store snapshots panel in the Description field, and in the AWS Storage Gateway snapshot Details pane, Description field
public CreateSnapshotRequest withSnapshotDescription(String snapshotDescription)
Textual description of the snapshot that appears in the Amazon EC2 console, Elastic Block Store snapshots panel in the Description field, and in the AWS Storage Gateway snapshot Details pane, Description field
snapshotDescription
- Textual description of the snapshot that appears in the Amazon EC2 console, Elastic Block Store snapshots
panel in the Description field, and in the AWS Storage Gateway snapshot Details pane,
Description fieldpublic 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.