@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; 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 void setName(String name)
The name of the volume status.
name
- The name of the volume status.VolumeStatusName
public String getName()
The name of the volume status.
VolumeStatusName
public VolumeStatusDetails withName(String name)
The name of the volume status.
name
- The name of the volume status.VolumeStatusName
public void setName(VolumeStatusName name)
The name of the volume status.
name
- The name of the volume status.VolumeStatusName
public VolumeStatusDetails withName(VolumeStatusName name)
The name of the volume status.
name
- The name of the volume status.VolumeStatusName
public 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 Object
Object.toString()
public VolumeStatusDetails clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.