public class VolumeStatusDetails extends Object implements Serializable
Describes a volume status.
Constructor and Description |
---|
VolumeStatusDetails() |
Modifier and Type | Method and Description |
---|---|
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
VolumeStatusName
public void setName(String name)
Constraints:
Allowed Values: io-enabled, io-performance
name
- The name of the volume status.VolumeStatusName
public 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.VolumeStatusName
public void setName(VolumeStatusName name)
Constraints:
Allowed Values: io-enabled, io-performance
name
- The name of the volume status.VolumeStatusName
public 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.VolumeStatusName
public 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 Object
Object.toString()
Copyright © 2015. All rights reserved.