Package org.jclouds.cim
Enum Class VirtualSystemSettingData.AutomaticShutdownAction
java.lang.Object
java.lang.Enum<VirtualSystemSettingData.AutomaticShutdownAction>
org.jclouds.cim.VirtualSystemSettingData.AutomaticShutdownAction
- All Implemented Interfaces:
Serializable
,Comparable<VirtualSystemSettingData.AutomaticShutdownAction>
,java.lang.constant.Constable
- Enclosing class:
VirtualSystemSettingData
public static enum VirtualSystemSettingData.AutomaticShutdownAction
extends Enum<VirtualSystemSettingData.AutomaticShutdownAction>
Action to take for the virtual system when the host is shut down.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Map
<Integer, VirtualSystemSettingData.AutomaticShutdownAction> protected final int
-
Method Summary
-
Enum Constant Details
-
TURN_OFF
-
SAVE_STATE
-
SHUTDOWN
-
-
Field Details
-
code
protected final int code -
AUTOMATIC_SHUTDOWN_ACTION_BY_ID
protected static final Map<Integer,VirtualSystemSettingData.AutomaticShutdownAction> AUTOMATIC_SHUTDOWN_ACTION_BY_ID
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
value
-
fromValue
public static VirtualSystemSettingData.AutomaticShutdownAction fromValue(String automaticShutdownAction)
-