@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VolumeRecoveryPointInfo extends Object implements Serializable, Cloneable, StructuredPojo
Describes a storage volume recovery point object.
Constructor and Description |
---|
VolumeRecoveryPointInfo() |
Modifier and Type | Method and Description |
---|---|
VolumeRecoveryPointInfo |
clone() |
boolean |
equals(Object obj) |
String |
getVolumeARN()
The Amazon Resource Name (ARN) of the volume target.
|
String |
getVolumeRecoveryPointTime()
The time the recovery point was taken.
|
Long |
getVolumeSizeInBytes()
The size of the volume in bytes.
|
Long |
getVolumeUsageInBytes()
The size of the data stored on the volume in bytes.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setVolumeARN(String volumeARN)
The Amazon Resource Name (ARN) of the volume target.
|
void |
setVolumeRecoveryPointTime(String volumeRecoveryPointTime)
The time the recovery point was taken.
|
void |
setVolumeSizeInBytes(Long volumeSizeInBytes)
The size of the volume in bytes.
|
void |
setVolumeUsageInBytes(Long volumeUsageInBytes)
The size of the data stored on the volume in bytes.
|
String |
toString()
Returns a string representation of this object.
|
VolumeRecoveryPointInfo |
withVolumeARN(String volumeARN)
The Amazon Resource Name (ARN) of the volume target.
|
VolumeRecoveryPointInfo |
withVolumeRecoveryPointTime(String volumeRecoveryPointTime)
The time the recovery point was taken.
|
VolumeRecoveryPointInfo |
withVolumeSizeInBytes(Long volumeSizeInBytes)
The size of the volume in bytes.
|
VolumeRecoveryPointInfo |
withVolumeUsageInBytes(Long volumeUsageInBytes)
The size of the data stored on the volume in bytes.
|
public void setVolumeARN(String volumeARN)
The Amazon Resource Name (ARN) of the volume target.
volumeARN
- The Amazon Resource Name (ARN) of the volume target.public String getVolumeARN()
The Amazon Resource Name (ARN) of the volume target.
public VolumeRecoveryPointInfo withVolumeARN(String volumeARN)
The Amazon Resource Name (ARN) of the volume target.
volumeARN
- The Amazon Resource Name (ARN) of the volume target.public void setVolumeSizeInBytes(Long volumeSizeInBytes)
The size of the volume in bytes.
volumeSizeInBytes
- The size of the volume in bytes.public Long getVolumeSizeInBytes()
The size of the volume in bytes.
public VolumeRecoveryPointInfo withVolumeSizeInBytes(Long volumeSizeInBytes)
The size of the volume in bytes.
volumeSizeInBytes
- The size of the volume in bytes.public void setVolumeUsageInBytes(Long volumeUsageInBytes)
The size of the data stored on the volume in bytes.
This value is not available for volumes created prior to May 13, 2015, until you store data on the volume.
volumeUsageInBytes
- The size of the data stored on the volume in bytes. This value is not available for volumes created prior to May 13, 2015, until you store data on the volume.
public Long getVolumeUsageInBytes()
The size of the data stored on the volume in bytes.
This value is not available for volumes created prior to May 13, 2015, until you store data on the volume.
This value is not available for volumes created prior to May 13, 2015, until you store data on the volume.
public VolumeRecoveryPointInfo withVolumeUsageInBytes(Long volumeUsageInBytes)
The size of the data stored on the volume in bytes.
This value is not available for volumes created prior to May 13, 2015, until you store data on the volume.
volumeUsageInBytes
- The size of the data stored on the volume in bytes. This value is not available for volumes created prior to May 13, 2015, until you store data on the volume.
public void setVolumeRecoveryPointTime(String volumeRecoveryPointTime)
The time the recovery point was taken.
volumeRecoveryPointTime
- The time the recovery point was taken.public String getVolumeRecoveryPointTime()
The time the recovery point was taken.
public VolumeRecoveryPointInfo withVolumeRecoveryPointTime(String volumeRecoveryPointTime)
The time the recovery point was taken.
volumeRecoveryPointTime
- The time the recovery point was taken.public String toString()
toString
in class Object
Object.toString()
public VolumeRecoveryPointInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.