public static enum VirtualMachineInstance.PowerState extends Enum<VirtualMachineInstance.PowerState>
Enum Constant and Description |
---|
DEALLOCATED |
DEALLOCATING |
RUNNING |
STARTING |
STOPPED |
STOPPING |
UNKNOWN |
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 STARTING
public static final VirtualMachineInstance.PowerState STOPPED
public static final VirtualMachineInstance.PowerState STOPPING
public static final VirtualMachineInstance.PowerState DEALLOCATED
public static final VirtualMachineInstance.PowerState DEALLOCATING
public static final VirtualMachineInstance.PowerState UNKNOWN
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–2021 The Apache Software Foundation. All rights reserved.