@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VolumeStatusInfo extends Object implements Serializable, Cloneable
Describes the status of a volume.
| Constructor and Description |
|---|
VolumeStatusInfo() |
| Modifier and Type | Method and Description |
|---|---|
VolumeStatusInfo |
clone() |
boolean |
equals(Object obj) |
List<VolumeStatusDetails> |
getDetails()
The details of the volume status.
|
String |
getStatus()
The status of the volume.
|
int |
hashCode() |
void |
setDetails(Collection<VolumeStatusDetails> details)
The details of the volume status.
|
void |
setStatus(String status)
The status of the volume.
|
void |
setStatus(VolumeStatusInfoStatus status)
The status of the volume.
|
String |
toString()
Returns a string representation of this object.
|
VolumeStatusInfo |
withDetails(Collection<VolumeStatusDetails> details)
The details of the volume status.
|
VolumeStatusInfo |
withDetails(VolumeStatusDetails... details)
The details of the volume status.
|
VolumeStatusInfo |
withStatus(String status)
The status of the volume.
|
VolumeStatusInfo |
withStatus(VolumeStatusInfoStatus status)
The status of the volume.
|
public List<VolumeStatusDetails> getDetails()
The details of the volume status.
public void setDetails(Collection<VolumeStatusDetails> details)
The details of the volume status.
details - The details of the volume status.public VolumeStatusInfo withDetails(VolumeStatusDetails... details)
The details of the volume status.
NOTE: This method appends the values to the existing list (if any). Use
setDetails(java.util.Collection) or withDetails(java.util.Collection) if you want to override
the existing values.
details - The details of the volume status.public VolumeStatusInfo withDetails(Collection<VolumeStatusDetails> details)
The details of the volume status.
details - The details of the volume status.public void setStatus(String status)
The status of the volume.
status - The status of the volume.VolumeStatusInfoStatuspublic String getStatus()
The status of the volume.
VolumeStatusInfoStatuspublic VolumeStatusInfo withStatus(String status)
The status of the volume.
status - The status of the volume.VolumeStatusInfoStatuspublic void setStatus(VolumeStatusInfoStatus status)
The status of the volume.
status - The status of the volume.VolumeStatusInfoStatuspublic VolumeStatusInfo withStatus(VolumeStatusInfoStatus status)
The status of the volume.
status - The status of the volume.VolumeStatusInfoStatuspublic String toString()
toString in class ObjectObject.toString()public VolumeStatusInfo clone()