Package org.jclouds.cloudstack.domain
Enum Class Volume.State
- All Implemented Interfaces:
Serializable
,Comparable<Volume.State>
,java.lang.constant.Constable
- Enclosing class:
Volume
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionindicates that the volume record is created in the DB, but not on the backendthe volume is being created on the backendthe volume is destroyed (either as a result of deleteVolume command for DataDisk or as a part of destroyVm)the volume has failed somehow, e.g.the volume is ready to be used -
Method Summary
Modifier and TypeMethodDescriptionstatic Volume.State
toString()
static Volume.State
Returns the enum constant of this class with the specified name.static Volume.State[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALLOCATED
indicates that the volume record is created in the DB, but not on the backend -
CREATING
the volume is being created on the backend -
READY
the volume is ready to be used -
DESTROYED
the volume is destroyed (either as a result of deleteVolume command for DataDisk or as a part of destroyVm) -
FAILED
the volume has failed somehow, e.g. during creation (in cloudstack development) -
UNRECOGNIZED
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<Volume.State>
-
fromValue
-