|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.VolumeStatusInfo
public class VolumeStatusInfo
Describes the status of a volume.
Constructor Summary | |
---|---|
VolumeStatusInfo()
|
Method Summary | |
---|---|
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; useful for testing and debugging. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VolumeStatusInfo()
Method Detail |
---|
public String getStatus()
Constraints:
Allowed Values: ok, impaired, insufficient-data
VolumeStatusInfoStatus
public void setStatus(String status)
Constraints:
Allowed Values: ok, impaired, insufficient-data
status
- The status of the volume.VolumeStatusInfoStatus
public VolumeStatusInfo withStatus(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.
VolumeStatusInfoStatus
public void setStatus(VolumeStatusInfoStatus status)
Constraints:
Allowed Values: ok, impaired, insufficient-data
status
- The status of the volume.VolumeStatusInfoStatus
public 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.
VolumeStatusInfoStatus
public List<VolumeStatusDetails> getDetails()
public void setDetails(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(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 String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |