Enum OlvmPowerManagement.Status
- java.lang.Object
-
- java.lang.Enum<OlvmPowerManagement.Status>
-
- com.oracle.bmc.cloudmigrations.model.OlvmPowerManagement.Status
-
- All Implemented Interfaces:
BmcEnum,Serializable,Comparable<OlvmPowerManagement.Status>
- Enclosing class:
- OlvmPowerManagement
public static enum OlvmPowerManagement.Status extends Enum<OlvmPowerManagement.Status> implements BmcEnum
Determines the power status of the host.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OlvmPowerManagement.Statuscreate(String key)StringgetValue()static OlvmPowerManagement.StatusvalueOf(String name)Returns the enum constant of this type with the specified name.static OlvmPowerManagement.Status[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Off
public static final OlvmPowerManagement.Status Off
-
On
public static final OlvmPowerManagement.Status On
-
Unknown
public static final OlvmPowerManagement.Status Unknown
-
-
Method Detail
-
values
public static OlvmPowerManagement.Status[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OlvmPowerManagement.Status c : OlvmPowerManagement.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OlvmPowerManagement.Status valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
create
public static OlvmPowerManagement.Status create(String key)
-
-