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