Enum VirtualMachineInstance.PowerState
- java.lang.Object
-
- java.lang.Enum<VirtualMachineInstance.PowerState>
-
- org.jclouds.azurecompute.arm.domain.VirtualMachineInstance.PowerState
-
- All Implemented Interfaces:
Serializable
,Comparable<VirtualMachineInstance.PowerState>
- Enclosing class:
- VirtualMachineInstance
public static enum VirtualMachineInstance.PowerState extends Enum<VirtualMachineInstance.PowerState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEALLOCATED
DEALLOCATING
RUNNING
STARTING
STOPPED
STOPPING
UNKNOWN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VirtualMachineInstance.PowerState
fromValue(String text)
static VirtualMachineInstance.PowerState
valueOf(String name)
Returns the enum constant of this type with the specified name.static VirtualMachineInstance.PowerState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RUNNING
public static final VirtualMachineInstance.PowerState RUNNING
-
STARTING
public static final VirtualMachineInstance.PowerState STARTING
-
STOPPED
public static final VirtualMachineInstance.PowerState STOPPED
-
STOPPING
public static final VirtualMachineInstance.PowerState STOPPING
-
DEALLOCATED
public static final VirtualMachineInstance.PowerState DEALLOCATED
-
DEALLOCATING
public static final VirtualMachineInstance.PowerState DEALLOCATING
-
UNKNOWN
public static final VirtualMachineInstance.PowerState UNKNOWN
-
-
Method Detail
-
values
public static VirtualMachineInstance.PowerState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (VirtualMachineInstance.PowerState c : VirtualMachineInstance.PowerState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VirtualMachineInstance.PowerState valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
fromValue
public static VirtualMachineInstance.PowerState fromValue(String text)
-
-