@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VolumeStatusDetails extends Object implements Serializable, Cloneable
Describes a volume status.
| Constructor and Description |
|---|
VolumeStatusDetails() |
| Modifier and Type | Method and Description |
|---|---|
VolumeStatusDetails |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the volume status.
|
String |
getStatus()
The intended status of the volume status.
|
int |
hashCode() |
void |
setName(String name)
The name of the volume status.
|
void |
setName(VolumeStatusName name)
The name of the volume status.
|
void |
setStatus(String status)
The intended status of the volume status.
|
String |
toString()
Returns a string representation of this object.
|
VolumeStatusDetails |
withName(String name)
The name of the volume status.
|
VolumeStatusDetails |
withName(VolumeStatusName name)
The name of the volume status.
|
VolumeStatusDetails |
withStatus(String status)
The intended status of the volume status.
|
public void setName(String name)
The name of the volume status.
name - The name of the volume status.VolumeStatusNamepublic String getName()
The name of the volume status.
VolumeStatusNamepublic VolumeStatusDetails withName(String name)
The name of the volume status.
name - The name of the volume status.VolumeStatusNamepublic void setName(VolumeStatusName name)
The name of the volume status.
name - The name of the volume status.VolumeStatusNamepublic VolumeStatusDetails withName(VolumeStatusName name)
The name of the volume status.
name - The name of the volume status.VolumeStatusNamepublic void setStatus(String status)
The intended status of the volume status.
status - The intended status of the volume status.public String getStatus()
The intended status of the volume status.
public VolumeStatusDetails withStatus(String status)
The intended status of the volume status.
status - The intended status of the volume status.public String toString()
toString in class ObjectObject.toString()public VolumeStatusDetails clone()