@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CachediSCSIVolume extends Object implements Serializable, Cloneable, StructuredPojo
Describes an iSCSI cached volume.
Constructor and Description |
---|
CachediSCSIVolume() |
Modifier and Type | Method and Description |
---|---|
CachediSCSIVolume |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedDate()
The date the volume was created.
|
String |
getSourceSnapshotId()
If the cached volume was created from a snapshot, this field contains the snapshot ID used, e.g.
|
String |
getVolumeARN()
The Amazon Resource Name (ARN) of the storage volume.
|
String |
getVolumeId()
The unique identifier of the volume, e.g.
|
VolumeiSCSIAttributes |
getVolumeiSCSIAttributes()
An VolumeiSCSIAttributes object that represents a collection of iSCSI attributes for one stored volume.
|
Double |
getVolumeProgress()
Represents the percentage complete if the volume is restoring or bootstrapping that represents the percent of
data transferred.
|
Long |
getVolumeSizeInBytes()
The size, in bytes, of the volume capacity.
|
String |
getVolumeStatus()
One of the VolumeStatus values that indicates the state of the storage volume.
|
String |
getVolumeType()
One of the VolumeType enumeration values that describes the type of the volume.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedDate(Date createdDate)
The date the volume was created.
|
void |
setSourceSnapshotId(String sourceSnapshotId)
If the cached volume was created from a snapshot, this field contains the snapshot ID used, e.g.
|
void |
setVolumeARN(String volumeARN)
The Amazon Resource Name (ARN) of the storage volume.
|
void |
setVolumeId(String volumeId)
The unique identifier of the volume, e.g.
|
void |
setVolumeiSCSIAttributes(VolumeiSCSIAttributes volumeiSCSIAttributes)
An VolumeiSCSIAttributes object that represents a collection of iSCSI attributes for one stored volume.
|
void |
setVolumeProgress(Double volumeProgress)
Represents the percentage complete if the volume is restoring or bootstrapping that represents the percent of
data transferred.
|
void |
setVolumeSizeInBytes(Long volumeSizeInBytes)
The size, in bytes, of the volume capacity.
|
void |
setVolumeStatus(String volumeStatus)
One of the VolumeStatus values that indicates the state of the storage volume.
|
void |
setVolumeType(String volumeType)
One of the VolumeType enumeration values that describes the type of the volume.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CachediSCSIVolume |
withCreatedDate(Date createdDate)
The date the volume was created.
|
CachediSCSIVolume |
withSourceSnapshotId(String sourceSnapshotId)
If the cached volume was created from a snapshot, this field contains the snapshot ID used, e.g.
|
CachediSCSIVolume |
withVolumeARN(String volumeARN)
The Amazon Resource Name (ARN) of the storage volume.
|
CachediSCSIVolume |
withVolumeId(String volumeId)
The unique identifier of the volume, e.g.
|
CachediSCSIVolume |
withVolumeiSCSIAttributes(VolumeiSCSIAttributes volumeiSCSIAttributes)
An VolumeiSCSIAttributes object that represents a collection of iSCSI attributes for one stored volume.
|
CachediSCSIVolume |
withVolumeProgress(Double volumeProgress)
Represents the percentage complete if the volume is restoring or bootstrapping that represents the percent of
data transferred.
|
CachediSCSIVolume |
withVolumeSizeInBytes(Long volumeSizeInBytes)
The size, in bytes, of the volume capacity.
|
CachediSCSIVolume |
withVolumeStatus(String volumeStatus)
One of the VolumeStatus values that indicates the state of the storage volume.
|
CachediSCSIVolume |
withVolumeType(String volumeType)
One of the VolumeType enumeration values that describes the type of the volume.
|
public void setVolumeARN(String volumeARN)
The Amazon Resource Name (ARN) of the storage volume.
volumeARN
- The Amazon Resource Name (ARN) of the storage volume.public String getVolumeARN()
The Amazon Resource Name (ARN) of the storage volume.
public CachediSCSIVolume withVolumeARN(String volumeARN)
The Amazon Resource Name (ARN) of the storage volume.
volumeARN
- The Amazon Resource Name (ARN) of the storage volume.public void setVolumeId(String volumeId)
The unique identifier of the volume, e.g. vol-AE4B946D.
volumeId
- The unique identifier of the volume, e.g. vol-AE4B946D.public String getVolumeId()
The unique identifier of the volume, e.g. vol-AE4B946D.
public CachediSCSIVolume withVolumeId(String volumeId)
The unique identifier of the volume, e.g. vol-AE4B946D.
volumeId
- The unique identifier of the volume, e.g. vol-AE4B946D.public void setVolumeType(String volumeType)
One of the VolumeType enumeration values that describes the type of the volume.
volumeType
- One of the VolumeType enumeration values that describes the type of the volume.public String getVolumeType()
One of the VolumeType enumeration values that describes the type of the volume.
public CachediSCSIVolume withVolumeType(String volumeType)
One of the VolumeType enumeration values that describes the type of the volume.
volumeType
- One of the VolumeType enumeration values that describes the type of the volume.public void setVolumeStatus(String volumeStatus)
One of the VolumeStatus values that indicates the state of the storage volume.
volumeStatus
- One of the VolumeStatus values that indicates the state of the storage volume.public String getVolumeStatus()
One of the VolumeStatus values that indicates the state of the storage volume.
public CachediSCSIVolume withVolumeStatus(String volumeStatus)
One of the VolumeStatus values that indicates the state of the storage volume.
volumeStatus
- One of the VolumeStatus values that indicates the state of the storage volume.public void setVolumeSizeInBytes(Long volumeSizeInBytes)
The size, in bytes, of the volume capacity.
volumeSizeInBytes
- The size, in bytes, of the volume capacity.public Long getVolumeSizeInBytes()
The size, in bytes, of the volume capacity.
public CachediSCSIVolume withVolumeSizeInBytes(Long volumeSizeInBytes)
The size, in bytes, of the volume capacity.
volumeSizeInBytes
- The size, in bytes, of the volume capacity.public void setVolumeProgress(Double volumeProgress)
Represents the percentage complete if the volume is restoring or bootstrapping that represents the percent of data transferred. This field does not appear in the response if the cached volume is not restoring or bootstrapping.
volumeProgress
- Represents the percentage complete if the volume is restoring or bootstrapping that represents the percent
of data transferred. This field does not appear in the response if the cached volume is not restoring or
bootstrapping.public Double getVolumeProgress()
Represents the percentage complete if the volume is restoring or bootstrapping that represents the percent of data transferred. This field does not appear in the response if the cached volume is not restoring or bootstrapping.
public CachediSCSIVolume withVolumeProgress(Double volumeProgress)
Represents the percentage complete if the volume is restoring or bootstrapping that represents the percent of data transferred. This field does not appear in the response if the cached volume is not restoring or bootstrapping.
volumeProgress
- Represents the percentage complete if the volume is restoring or bootstrapping that represents the percent
of data transferred. This field does not appear in the response if the cached volume is not restoring or
bootstrapping.public void setSourceSnapshotId(String sourceSnapshotId)
If the cached volume was created from a snapshot, this field contains the snapshot ID used, e.g. snap-78e22663. Otherwise, this field is not included.
sourceSnapshotId
- If the cached volume was created from a snapshot, this field contains the snapshot ID used, e.g.
snap-78e22663. Otherwise, this field is not included.public String getSourceSnapshotId()
If the cached volume was created from a snapshot, this field contains the snapshot ID used, e.g. snap-78e22663. Otherwise, this field is not included.
public CachediSCSIVolume withSourceSnapshotId(String sourceSnapshotId)
If the cached volume was created from a snapshot, this field contains the snapshot ID used, e.g. snap-78e22663. Otherwise, this field is not included.
sourceSnapshotId
- If the cached volume was created from a snapshot, this field contains the snapshot ID used, e.g.
snap-78e22663. Otherwise, this field is not included.public void setVolumeiSCSIAttributes(VolumeiSCSIAttributes volumeiSCSIAttributes)
An VolumeiSCSIAttributes object that represents a collection of iSCSI attributes for one stored volume.
volumeiSCSIAttributes
- An VolumeiSCSIAttributes object that represents a collection of iSCSI attributes for one stored
volume.public VolumeiSCSIAttributes getVolumeiSCSIAttributes()
An VolumeiSCSIAttributes object that represents a collection of iSCSI attributes for one stored volume.
public CachediSCSIVolume withVolumeiSCSIAttributes(VolumeiSCSIAttributes volumeiSCSIAttributes)
An VolumeiSCSIAttributes object that represents a collection of iSCSI attributes for one stored volume.
volumeiSCSIAttributes
- An VolumeiSCSIAttributes object that represents a collection of iSCSI attributes for one stored
volume.public void setCreatedDate(Date createdDate)
The date the volume was created. Volumes created prior to March 28, 2017 don’t have this time stamp.
createdDate
- The date the volume was created. Volumes created prior to March 28, 2017 don’t have this time stamp.public Date getCreatedDate()
The date the volume was created. Volumes created prior to March 28, 2017 don’t have this time stamp.
public CachediSCSIVolume withCreatedDate(Date createdDate)
The date the volume was created. Volumes created prior to March 28, 2017 don’t have this time stamp.
createdDate
- The date the volume was created. Volumes created prior to March 28, 2017 don’t have this time stamp.public String toString()
toString
in class Object
Object.toString()
public CachediSCSIVolume clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.