public class CreateSnapshotFromVolumeRecoveryPointRequest extends AmazonWebServiceRequest implements Serializable
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.
NOOP
Constructor and Description |
---|
CreateSnapshotFromVolumeRecoveryPointRequest() |
Modifier and Type | Method and Description |
---|---|
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.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public CreateSnapshotFromVolumeRecoveryPointRequest()
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()
Copyright © 2014. All rights reserved.