|
||||||||||
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 ).
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, in Amazon Elastic Compute Cloud API Reference.
AWSStorageGateway.createSnapshotFromVolumeRecoveryPoint(CreateSnapshotFromVolumeRecoveryPointRequest)
,
Serialized FormConstructor Summary | |
---|---|
CreateSnapshotFromVolumeRecoveryPointRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getSnapshotDescription()
Returns the value of the SnapshotDescription property for this object. |
String |
getVolumeARN()
Returns the value of the VolumeARN property for this object. |
int |
hashCode()
|
void |
setSnapshotDescription(String snapshotDescription)
Sets the value of the SnapshotDescription property for this object. |
void |
setVolumeARN(String volumeARN)
Sets the value of the VolumeARN property for this object. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
CreateSnapshotFromVolumeRecoveryPointRequest |
withSnapshotDescription(String snapshotDescription)
Sets the value of the SnapshotDescription property for this object. |
CreateSnapshotFromVolumeRecoveryPointRequest |
withVolumeARN(String volumeARN)
Sets the value of the VolumeARN property for this object. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CreateSnapshotFromVolumeRecoveryPointRequest()
Method Detail |
---|
public String getVolumeARN()
Constraints:
Length: 50 - 500
public void setVolumeARN(String volumeARN)
Constraints:
Length: 50 - 500
volumeARN
- The new value for the VolumeARN property for this object.public CreateSnapshotFromVolumeRecoveryPointRequest withVolumeARN(String volumeARN)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 50 - 500
volumeARN
- The new value for the VolumeARN property for this object.
public String getSnapshotDescription()
Constraints:
Length: 1 - 255
public void setSnapshotDescription(String snapshotDescription)
Constraints:
Length: 1 - 255
snapshotDescription
- The new value for the SnapshotDescription property for this object.public CreateSnapshotFromVolumeRecoveryPointRequest withSnapshotDescription(String snapshotDescription)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
snapshotDescription
- The new value for the SnapshotDescription property for this object.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |