public enum CannotPowerOffVmInClusterOperation extends Enum<CannotPowerOffVmInClusterOperation>
Java class for CannotPowerOffVmInClusterOperation.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="CannotPowerOffVmInClusterOperation">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="suspend"/>
<enumeration value="powerOff"/>
<enumeration value="guestShutdown"/>
<enumeration value="guestSuspend"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
GUEST_SHUTDOWN |
GUEST_SUSPEND |
POWER_OFF |
SUSPEND |
| Modifier and Type | Method and Description |
|---|---|
static CannotPowerOffVmInClusterOperation |
fromValue(String v) |
String |
value() |
static CannotPowerOffVmInClusterOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CannotPowerOffVmInClusterOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CannotPowerOffVmInClusterOperation SUSPEND
public static final CannotPowerOffVmInClusterOperation POWER_OFF
public static final CannotPowerOffVmInClusterOperation GUEST_SHUTDOWN
public static final CannotPowerOffVmInClusterOperation GUEST_SUSPEND
public static CannotPowerOffVmInClusterOperation[] values()
for (CannotPowerOffVmInClusterOperation c : CannotPowerOffVmInClusterOperation.values()) System.out.println(c);
public static CannotPowerOffVmInClusterOperation 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 CannotPowerOffVmInClusterOperation fromValue(String v)
Copyright © 2018. All rights reserved.