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; useful for testing and
debugging.
|
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 String getName()
Constraints:
Allowed Values: io-enabled, io-performance
VolumeStatusNamepublic void setName(String name)
Constraints:
Allowed Values: io-enabled, io-performance
name - The name of the volume status.VolumeStatusNamepublic VolumeStatusDetails withName(String name)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: io-enabled, io-performance
name - The name of the volume status.VolumeStatusNamepublic void setName(VolumeStatusName name)
Constraints:
Allowed Values: io-enabled, io-performance
name - The name of the volume status.VolumeStatusNamepublic VolumeStatusDetails withName(VolumeStatusName name)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: io-enabled, io-performance
name - The name of the volume status.VolumeStatusNamepublic String getStatus()
public void setStatus(String status)
status - The intended status of the volume status.public VolumeStatusDetails withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
status - The intended status of the volume status.public String toString()
toString in class ObjectObject.toString()public VolumeStatusDetails clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.