public class VolumeStatusInfo
extends java.lang.Object
implements java.io.Serializable
Describes the status of a volume.
| Constructor and Description | 
|---|
VolumeStatusInfo()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(java.lang.Object obj)  | 
java.util.List<VolumeStatusDetails> | 
getDetails()
The details of the volume status. 
 | 
java.lang.String | 
getStatus()
The status of the volume. 
 | 
int | 
hashCode()  | 
void | 
setDetails(java.util.Collection<VolumeStatusDetails> details)
The details of the volume status. 
 | 
void | 
setStatus(java.lang.String status)
The status of the volume. 
 | 
void | 
setStatus(VolumeStatusInfoStatus status)
The status of the volume. 
 | 
java.lang.String | 
toString()
Returns a string representation of this object; useful for testing and
 debugging. 
 | 
VolumeStatusInfo | 
withDetails(java.util.Collection<VolumeStatusDetails> details)
The details of the volume status. 
 | 
VolumeStatusInfo | 
withDetails(VolumeStatusDetails... details)
The details of the volume status. 
 | 
VolumeStatusInfo | 
withStatus(java.lang.String status)
The status of the volume. 
 | 
VolumeStatusInfo | 
withStatus(VolumeStatusInfoStatus status)
The status of the volume. 
 | 
public java.lang.String getStatus()
 Constraints:
 Allowed Values: ok, impaired, insufficient-data
VolumeStatusInfoStatuspublic void setStatus(java.lang.String status)
 Constraints:
 Allowed Values: ok, impaired, insufficient-data
status - The status of the volume.VolumeStatusInfoStatuspublic VolumeStatusInfo withStatus(java.lang.String status)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Allowed Values: ok, impaired, insufficient-data
status - The status of the volume.VolumeStatusInfoStatuspublic void setStatus(VolumeStatusInfoStatus status)
 Constraints:
 Allowed Values: ok, impaired, insufficient-data
status - The status of the volume.VolumeStatusInfoStatuspublic VolumeStatusInfo withStatus(VolumeStatusInfoStatus status)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Allowed Values: ok, impaired, insufficient-data
status - The status of the volume.VolumeStatusInfoStatuspublic java.util.List<VolumeStatusDetails> getDetails()
public void setDetails(java.util.Collection<VolumeStatusDetails> details)
details - The details of the volume status.public VolumeStatusInfo withDetails(VolumeStatusDetails... details)
Returns a reference to this object so that method calls can be chained together.
details - The details of the volume status.public VolumeStatusInfo withDetails(java.util.Collection<VolumeStatusDetails> details)
Returns a reference to this object so that method calls can be chained together.
details - The details of the volume status.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.