Package com.oracle.bmc.mngdmac.model
Enum MacDevice.LifecycleState
- java.lang.Object
-
- java.lang.Enum<MacDevice.LifecycleState>
-
- com.oracle.bmc.mngdmac.model.MacDevice.LifecycleState
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<MacDevice.LifecycleState>
- Enclosing class:
- MacDevice
public static enum MacDevice.LifecycleState extends Enum<MacDevice.LifecycleState> implements BmcEnum
The current status of the MacDevice.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Active
Creating
Deleted
Deleting
NeedsAttention
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MacDevice.LifecycleState
create(String key)
String
getValue()
static MacDevice.LifecycleState
valueOf(String name)
Returns the enum constant of this type with the specified name.static MacDevice.LifecycleState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Creating
public static final MacDevice.LifecycleState Creating
-
Active
public static final MacDevice.LifecycleState Active
-
NeedsAttention
public static final MacDevice.LifecycleState NeedsAttention
-
Deleting
public static final MacDevice.LifecycleState Deleting
-
Deleted
public static final MacDevice.LifecycleState Deleted
-
UnknownEnumValue
public static final MacDevice.LifecycleState UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static MacDevice.LifecycleState[] 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 (MacDevice.LifecycleState c : MacDevice.LifecycleState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MacDevice.LifecycleState 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 MacDevice.LifecycleState create(String key)
-
-