Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.storagegateway.model
Class CreateSnapshotFromVolumeRecoveryPointResult

java.lang.Object
  extended by com.amazonaws.services.storagegateway.model.CreateSnapshotFromVolumeRecoveryPointResult
All Implemented Interfaces:
Serializable

public class CreateSnapshotFromVolumeRecoveryPointResult
extends Object
implements Serializable

A JSON object containing the following fields:

See Also:
Serialized Form

Constructor Summary
CreateSnapshotFromVolumeRecoveryPointResult()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateSnapshotFromVolumeRecoveryPointResult

public CreateSnapshotFromVolumeRecoveryPointResult()
Method Detail

getSnapshotId

public 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).

Constraints:
Pattern: \Asnap-[0-9a-fA-F]{8}\z

Returns:
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).

setSnapshotId

public 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).

Constraints:
Pattern: \Asnap-[0-9a-fA-F]{8}\z

Parameters:
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).

withSnapshotId

public 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).

Returns a reference to this object so that method calls can be chained together.

Constraints:
Pattern: \Asnap-[0-9a-fA-F]{8}\z

Parameters:
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).
Returns:
A reference to this updated object so that method calls can be chained together.

getVolumeARN

public String getVolumeARN()
The ARN of the volume of which the snapshot was taken. Obtain volume ARNs from the ListVolumes operation.

Constraints:
Length: 50 - 500

Returns:
The ARN of the volume of which the snapshot was taken. Obtain volume ARNs from the ListVolumes operation.

setVolumeARN

public void setVolumeARN(String volumeARN)
The ARN of the volume of which the snapshot was taken. Obtain volume ARNs from the ListVolumes operation.

Constraints:
Length: 50 - 500

Parameters:
volumeARN - The ARN of the volume of which the snapshot was taken. Obtain volume ARNs from the ListVolumes operation.

withVolumeARN

public CreateSnapshotFromVolumeRecoveryPointResult withVolumeARN(String volumeARN)
The ARN of the volume of which the snapshot was taken. Obtain volume ARNs from the ListVolumes operation.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 50 - 500

Parameters:
volumeARN - The ARN of the volume of which the snapshot was taken. Obtain volume ARNs from the ListVolumes operation.
Returns:
A reference to this updated object so that method calls can be chained together.

getVolumeRecoveryPointTime

public String getVolumeRecoveryPointTime()
The time of the recovery point. Data up to this recovery point are included in the snapshot.

Type: String format of a date in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.

Returns:
The time of the recovery point. Data up to this recovery point are included in the snapshot.

Type: String format of a date in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.


setVolumeRecoveryPointTime

public void setVolumeRecoveryPointTime(String volumeRecoveryPointTime)
The time of the recovery point. Data up to this recovery point are included in the snapshot.

Type: String format of a date in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.

Parameters:
volumeRecoveryPointTime - The time of the recovery point. Data up to this recovery point are included in the snapshot.

Type: String format of a date in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.


withVolumeRecoveryPointTime

public CreateSnapshotFromVolumeRecoveryPointResult withVolumeRecoveryPointTime(String volumeRecoveryPointTime)
The time of the recovery point. Data up to this recovery point are included in the snapshot.

Type: String format of a date in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.

Returns a reference to this object so that method calls can be chained together.

Parameters:
volumeRecoveryPointTime - The time of the recovery point. Data up to this recovery point are included in the snapshot.

Type: String format of a date in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.

Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.