public static enum VirtualMachineInstance.PowerState extends Enum<VirtualMachineInstance.PowerState>
Enum Constant and Description |
---|
RUNNING |
STOPPED |
UNRECOGNIZED |
Modifier and Type | Method and 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.
|
public static final VirtualMachineInstance.PowerState RUNNING
public static final VirtualMachineInstance.PowerState STOPPED
public static final VirtualMachineInstance.PowerState UNRECOGNIZED
public static VirtualMachineInstance.PowerState[] values()
for (VirtualMachineInstance.PowerState c : VirtualMachineInstance.PowerState.values()) System.out.println(c);
public static VirtualMachineInstance.PowerState 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 static VirtualMachineInstance.PowerState fromValue(String text)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.