Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.storagegateway.model
Class VolumeRecoveryPointInfo

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

public class VolumeRecoveryPointInfo
extends Object
implements Serializable

Lists information about the recovery points of a cached volume.

See Also:
Serialized Form

Constructor Summary
VolumeRecoveryPointInfo()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getVolumeARN()
          The Amazon Resource Name (ARN) of the volume associated with the recovery point.
 String getVolumeRecoveryPointTime()
          The time of the recovery point.
 Long getVolumeSizeInBytes()
          The size, in bytes, of the volume to which the recovery point is associated.
 Long getVolumeUsageInBytes()
          The size, in bytes, of the volume in use at the time of the recovery point.
 int hashCode()
           
 void setVolumeARN(String volumeARN)
          The Amazon Resource Name (ARN) of the volume associated with the recovery point.
 void setVolumeRecoveryPointTime(String volumeRecoveryPointTime)
          The time of the recovery point.
 void setVolumeSizeInBytes(Long volumeSizeInBytes)
          The size, in bytes, of the volume to which the recovery point is associated.
 void setVolumeUsageInBytes(Long volumeUsageInBytes)
          The size, in bytes, of the volume in use at the time of the recovery point.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 VolumeRecoveryPointInfo withVolumeARN(String volumeARN)
          The Amazon Resource Name (ARN) of the volume associated with the recovery point.
 VolumeRecoveryPointInfo withVolumeRecoveryPointTime(String volumeRecoveryPointTime)
          The time of the recovery point.
 VolumeRecoveryPointInfo withVolumeSizeInBytes(Long volumeSizeInBytes)
          The size, in bytes, of the volume to which the recovery point is associated.
 VolumeRecoveryPointInfo withVolumeUsageInBytes(Long volumeUsageInBytes)
          The size, in bytes, of the volume in use at the time of the recovery point.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VolumeRecoveryPointInfo

public VolumeRecoveryPointInfo()
Method Detail

getVolumeARN

public String getVolumeARN()
The Amazon Resource Name (ARN) of the volume associated with the recovery point.

Constraints:
Length: 50 - 500

Returns:
The Amazon Resource Name (ARN) of the volume associated with the recovery point.

setVolumeARN

public void setVolumeARN(String volumeARN)
The Amazon Resource Name (ARN) of the volume associated with the recovery point.

Constraints:
Length: 50 - 500

Parameters:
volumeARN - The Amazon Resource Name (ARN) of the volume associated with the recovery point.

withVolumeARN

public VolumeRecoveryPointInfo withVolumeARN(String volumeARN)
The Amazon Resource Name (ARN) of the volume associated with the recovery point.

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

Constraints:
Length: 50 - 500

Parameters:
volumeARN - The Amazon Resource Name (ARN) of the volume associated with the recovery point.
Returns:
A reference to this updated object so that method calls can be chained together.

getVolumeSizeInBytes

public Long getVolumeSizeInBytes()
The size, in bytes, of the volume to which the recovery point is associated.

Returns:
The size, in bytes, of the volume to which the recovery point is associated.

setVolumeSizeInBytes

public void setVolumeSizeInBytes(Long volumeSizeInBytes)
The size, in bytes, of the volume to which the recovery point is associated.

Parameters:
volumeSizeInBytes - The size, in bytes, of the volume to which the recovery point is associated.

withVolumeSizeInBytes

public VolumeRecoveryPointInfo withVolumeSizeInBytes(Long volumeSizeInBytes)
The size, in bytes, of the volume to which the recovery point is associated.

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

Parameters:
volumeSizeInBytes - The size, in bytes, of the volume to which the recovery point is associated.
Returns:
A reference to this updated object so that method calls can be chained together.

getVolumeUsageInBytes

public Long getVolumeUsageInBytes()
The size, in bytes, of the volume in use at the time of the recovery point.

Returns:
The size, in bytes, of the volume in use at the time of the recovery point.

setVolumeUsageInBytes

public void setVolumeUsageInBytes(Long volumeUsageInBytes)
The size, in bytes, of the volume in use at the time of the recovery point.

Parameters:
volumeUsageInBytes - The size, in bytes, of the volume in use at the time of the recovery point.

withVolumeUsageInBytes

public VolumeRecoveryPointInfo withVolumeUsageInBytes(Long volumeUsageInBytes)
The size, in bytes, of the volume in use at the time of the recovery point.

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

Parameters:
volumeUsageInBytes - The size, in bytes, of the volume in use at the time of the recovery point.
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. The format of the time is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.

Returns:
The time of the recovery point. The format of the time is 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. The format of the time is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.

Parameters:
volumeRecoveryPointTime - The time of the recovery point. The format of the time is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.

withVolumeRecoveryPointTime

public VolumeRecoveryPointInfo withVolumeRecoveryPointTime(String volumeRecoveryPointTime)
The time of the recovery point. The format of the time is 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. The format of the time is 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.