|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.storagegateway.model.CreateSnapshotFromVolumeRecoveryPointRequest
public class CreateSnapshotFromVolumeRecoveryPointRequest
Container for the parameters to the CreateSnapshotFromVolumeRecoveryPoint operation
.
This operation initiates a snapshot of a gateway from a volume recovery point. This operation is supported only for the gateway-cached volume architecture (see StorageGatewayConcepts).
A volume recovery point is a point in time at which all data of the volume is consistent and from which you can create a snapshot. To get a list of volume recovery point for gateway-cached volumes, use ListVolumeRecoveryPoints.
In the CreateSnapshotFromVolumeRecoveryPoint
request, you identify the volume by providing its Amazon Resource Name (ARN). You must also
provide a description for the snapshot. When AWS Storage Gateway takes a snapshot of the specified volume, the snapshot and its description appear in
the AWS Storage Gateway console. In response, AWS Storage Gateway returns you a snapshot ID. You can use this snapshot ID to check the snapshot
progress or later use it when you want to create a volume from a snapshot.
NOTE: To list or delete a snapshot, you must use the Amazon EC2 API. For more information, go to DeleteSnapshot and DescribeSnapshots in Amazon Elastic Compute Cloud API Reference.
AWSStorageGateway.createSnapshotFromVolumeRecoveryPoint(CreateSnapshotFromVolumeRecoveryPointRequest)
Constructor Summary | |
---|---|
CreateSnapshotFromVolumeRecoveryPointRequest()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getSnapshotDescription()
A 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)
A 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. |
CreateSnapshotFromVolumeRecoveryPointRequest |
withSnapshotDescription(java.lang.String snapshotDescription)
A 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. |
CreateSnapshotFromVolumeRecoveryPointRequest |
withVolumeARN(java.lang.String volumeARN)
The Amazon Resource Name (ARN) of the volume. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CreateSnapshotFromVolumeRecoveryPointRequest()
Method Detail |
---|
public java.lang.String getVolumeARN()
Constraints:
Length: 50 - 500
public void setVolumeARN(java.lang.String volumeARN)
Constraints:
Length: 50 - 500
volumeARN
- The Amazon Resource Name (ARN) of the volume. Use the
ListVolumes operation to return a list of gateway volumes.public CreateSnapshotFromVolumeRecoveryPointRequest withVolumeARN(java.lang.String volumeARN)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 50 - 500
volumeARN
- The Amazon Resource Name (ARN) of the volume. Use the
ListVolumes operation to return a list of gateway volumes.
public java.lang.String getSnapshotDescription()
Length: Minimum length of 1. Maximum length of 255.
Constraints:
Length: 1 - 255
Length: Minimum length of 1. Maximum length of 255.
public void setSnapshotDescription(java.lang.String snapshotDescription)
Length: Minimum length of 1. Maximum length of 255.
Constraints:
Length: 1 - 255
snapshotDescription
- A 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. Length: Minimum length of 1. Maximum length of 255.
public CreateSnapshotFromVolumeRecoveryPointRequest withSnapshotDescription(java.lang.String snapshotDescription)
Length: Minimum length of 1. Maximum length of 255.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
snapshotDescription
- A 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. Length: Minimum length of 1. Maximum length of 255.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |