public class CreateSnapshotRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
A JSON object containing one or more of the following fields:
Modifier and Type | Field and Description |
---|---|
private java.lang.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
|
private java.lang.String |
volumeARN
The Amazon Resource Name (ARN) of the volume.
|
NOOP
Constructor and Description |
---|
CreateSnapshotRequest() |
Modifier and Type | Method and Description |
---|---|
CreateSnapshotRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.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
|
java.lang.String |
getVolumeARN()
The Amazon Resource Name (ARN) of the volume.
|
int |
hashCode() |
void |
setSnapshotDescription(java.lang.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(java.lang.String volumeARN)
The Amazon Resource Name (ARN) of the volume.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateSnapshotRequest |
withSnapshotDescription(java.lang.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(java.lang.String volumeARN)
The Amazon Resource Name (ARN) of the volume.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String volumeARN
The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.
private java.lang.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
public void setVolumeARN(java.lang.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 java.lang.String getVolumeARN()
The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.
public CreateSnapshotRequest withVolumeARN(java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateSnapshotRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()