Package com.oracle.bmc.core.model
Enum InstancePool.LifecycleState
- java.lang.Object
-
- java.lang.Enum<InstancePool.LifecycleState>
-
- com.oracle.bmc.core.model.InstancePool.LifecycleState
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<InstancePool.LifecycleState>
- Enclosing class:
- InstancePool
public static enum InstancePool.LifecycleState extends Enum<InstancePool.LifecycleState> implements BmcEnum
The current state of the instance pool.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Provisioning
Running
Scaling
Starting
Stopped
Stopping
Terminated
Terminating
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 InstancePool.LifecycleState
create(String key)
String
getValue()
static InstancePool.LifecycleState
valueOf(String name)
Returns the enum constant of this type with the specified name.static InstancePool.LifecycleState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Provisioning
public static final InstancePool.LifecycleState Provisioning
-
Scaling
public static final InstancePool.LifecycleState Scaling
-
Starting
public static final InstancePool.LifecycleState Starting
-
Stopping
public static final InstancePool.LifecycleState Stopping
-
Terminating
public static final InstancePool.LifecycleState Terminating
-
Stopped
public static final InstancePool.LifecycleState Stopped
-
Terminated
public static final InstancePool.LifecycleState Terminated
-
Running
public static final InstancePool.LifecycleState Running
-
UnknownEnumValue
public static final InstancePool.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 InstancePool.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 (InstancePool.LifecycleState c : InstancePool.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 InstancePool.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 InstancePool.LifecycleState create(String key)
-
-