public enum VirtualMachinePowerState extends Enum<VirtualMachinePowerState>
Java class for VirtualMachinePowerState.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="VirtualMachinePowerState">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="poweredOff"/>
<enumeration value="poweredOn"/>
<enumeration value="suspended"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
POWERED_OFF |
POWERED_ON |
SUSPENDED |
| Modifier and Type | Method and Description |
|---|---|
static VirtualMachinePowerState |
fromValue(String v) |
String |
value() |
static VirtualMachinePowerState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VirtualMachinePowerState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VirtualMachinePowerState POWERED_OFF
public static final VirtualMachinePowerState POWERED_ON
public static final VirtualMachinePowerState SUSPENDED
public static VirtualMachinePowerState[] values()
for (VirtualMachinePowerState c : VirtualMachinePowerState.values()) System.out.println(c);
public static VirtualMachinePowerState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static VirtualMachinePowerState fromValue(String v)
Copyright © 2018. All rights reserved.