Package com.oracle.bmc.core.requests
Enum ListDedicatedVmHostsRequest.LifecycleState
- java.lang.Object
-
- java.lang.Enum<ListDedicatedVmHostsRequest.LifecycleState>
-
- com.oracle.bmc.core.requests.ListDedicatedVmHostsRequest.LifecycleState
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<ListDedicatedVmHostsRequest.LifecycleState>
- Enclosing class:
- ListDedicatedVmHostsRequest
public static enum ListDedicatedVmHostsRequest.LifecycleState extends Enum<ListDedicatedVmHostsRequest.LifecycleState> implements BmcEnum
A filter to only return resources that match the given lifecycle state.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListDedicatedVmHostsRequest.LifecycleState
create(String key)
String
getValue()
static ListDedicatedVmHostsRequest.LifecycleState
valueOf(String name)
Returns the enum constant of this type with the specified name.static ListDedicatedVmHostsRequest.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 ListDedicatedVmHostsRequest.LifecycleState Creating
-
Active
public static final ListDedicatedVmHostsRequest.LifecycleState Active
-
Updating
public static final ListDedicatedVmHostsRequest.LifecycleState Updating
-
Deleting
public static final ListDedicatedVmHostsRequest.LifecycleState Deleting
-
Deleted
public static final ListDedicatedVmHostsRequest.LifecycleState Deleted
-
Failed
public static final ListDedicatedVmHostsRequest.LifecycleState Failed
-
-
Method Detail
-
values
public static ListDedicatedVmHostsRequest.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 (ListDedicatedVmHostsRequest.LifecycleState c : ListDedicatedVmHostsRequest.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 ListDedicatedVmHostsRequest.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 ListDedicatedVmHostsRequest.LifecycleState create(String key)
-
-