public class CreateSnapshotFromVolumeRecoveryPointResult extends Object implements Serializable
A JSON object containing the following fields:
Constructor and Description |
---|
CreateSnapshotFromVolumeRecoveryPointResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getSnapshotId()
The snapshot ID that is used to refer to the snapshot in future
operations such as describing snapshots (Amazon Elastic Compute Cloud
API DescribeSnapshots) or creating a volume from a snapshot
(CreateStorediSCSIVolume).
|
String |
getVolumeARN()
The ARN of the volume of which the snapshot was taken.
|
String |
getVolumeRecoveryPointTime()
The time of the recovery point.
|
int |
hashCode() |
void |
setSnapshotId(String snapshotId)
The snapshot ID that is used to refer to the snapshot in future
operations such as describing snapshots (Amazon Elastic Compute Cloud
API DescribeSnapshots) or creating a volume from a snapshot
(CreateStorediSCSIVolume).
|
void |
setVolumeARN(String volumeARN)
The ARN of the volume of which the snapshot was taken.
|
void |
setVolumeRecoveryPointTime(String volumeRecoveryPointTime)
The time of the recovery point.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateSnapshotFromVolumeRecoveryPointResult |
withSnapshotId(String snapshotId)
The snapshot ID that is used to refer to the snapshot in future
operations such as describing snapshots (Amazon Elastic Compute Cloud
API DescribeSnapshots) or creating a volume from a snapshot
(CreateStorediSCSIVolume).
|
CreateSnapshotFromVolumeRecoveryPointResult |
withVolumeARN(String volumeARN)
The ARN of the volume of which the snapshot was taken.
|
CreateSnapshotFromVolumeRecoveryPointResult |
withVolumeRecoveryPointTime(String volumeRecoveryPointTime)
The time of the recovery point.
|
public CreateSnapshotFromVolumeRecoveryPointResult()
public String getSnapshotId()
Constraints:
Pattern: \Asnap-[0-9a-fA-F]{8}\z
public void setSnapshotId(String snapshotId)
Constraints:
Pattern: \Asnap-[0-9a-fA-F]{8}\z
snapshotId
- The snapshot ID that is used to refer to the snapshot in future
operations such as describing snapshots (Amazon Elastic Compute Cloud
API DescribeSnapshots) or creating a volume from a snapshot
(CreateStorediSCSIVolume).public CreateSnapshotFromVolumeRecoveryPointResult withSnapshotId(String snapshotId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: \Asnap-[0-9a-fA-F]{8}\z
snapshotId
- The snapshot ID that is used to refer to the snapshot in future
operations such as describing snapshots (Amazon Elastic Compute Cloud
API DescribeSnapshots) or creating a volume from a snapshot
(CreateStorediSCSIVolume).public String getVolumeARN()
Constraints:
Length: 50 - 500
public void setVolumeARN(String volumeARN)
Constraints:
Length: 50 - 500
volumeARN
- The ARN of the volume of which the snapshot was taken. Obtain volume
ARNs from the ListVolumes operation.public CreateSnapshotFromVolumeRecoveryPointResult withVolumeARN(String volumeARN)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 50 - 500
volumeARN
- The ARN of the volume of which the snapshot was taken. Obtain volume
ARNs from the ListVolumes operation.public String getVolumeRecoveryPointTime()
public void setVolumeRecoveryPointTime(String volumeRecoveryPointTime)
volumeRecoveryPointTime
- The time of the recovery point. Data up to this recovery point are
included in the snapshot. public CreateSnapshotFromVolumeRecoveryPointResult withVolumeRecoveryPointTime(String volumeRecoveryPointTime)
Returns a reference to this object so that method calls can be chained together.
volumeRecoveryPointTime
- The time of the recovery point. Data up to this recovery point are
included in the snapshot. public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.