@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; 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.
|
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.VolumeStatusInfoStatus
public String getStatus()
The status of the volume.
VolumeStatusInfoStatus
public VolumeStatusInfo withStatus(String status)
The status of the volume.
status
- The status of the volume.VolumeStatusInfoStatus
public void setStatus(VolumeStatusInfoStatus status)
The status of the volume.
status
- The status of the volume.VolumeStatusInfoStatus
public VolumeStatusInfo withStatus(VolumeStatusInfoStatus status)
The status of the volume.
status
- The status of the volume.VolumeStatusInfoStatus
public String toString()
toString
in class Object
Object.toString()
public VolumeStatusInfo clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.