|
|||||||
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(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. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VolumeStatusInfo()
Method Detail |
---|
public java.lang.String getStatus()
Constraints:
Allowed Values: ok, impaired, insufficient-data
VolumeStatusInfoStatus
public void setStatus(java.lang.String status)
Constraints:
Allowed Values: ok, impaired, insufficient-data
status
- The status of the volume.VolumeStatusInfoStatus
public 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.
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 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.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |