Package org.jclouds.ec2.domain
Enum Class InstanceState
- All Implemented Interfaces:
Serializable
,Comparable<InstanceState>
,java.lang.constant.Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionthe instance is in the process of being launchedthe instance launched (although the boot process might not be completed)the instance started shutting downthe instance is stoppedthe instance is stoppingthe instance terminated -
Method Summary
Modifier and TypeMethodDescriptionstatic InstanceState
fromValue
(int v) static InstanceState
toString()
value()
static InstanceState
Returns the enum constant of this class with the specified name.static InstanceState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PENDING
the instance is in the process of being launched -
RUNNING
the instance launched (although the boot process might not be completed) -
SHUTTING_DOWN
the instance started shutting down -
TERMINATED
the instance terminated -
STOPPING
the instance is stopping -
STOPPED
the instance is stopped -
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
-
value
-
toString
- Overrides:
toString
in classEnum<InstanceState>
-
fromValue
-
fromValue
-