Package com.oracle.bmc.database.model
Enum NodeDetails.LifecycleState
- java.lang.Object
-
- java.lang.Enum<NodeDetails.LifecycleState>
-
- com.oracle.bmc.database.model.NodeDetails.LifecycleState
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<NodeDetails.LifecycleState>
- Enclosing class:
- NodeDetails
public static enum NodeDetails.LifecycleState extends Enum<NodeDetails.LifecycleState> implements BmcEnum
The current state of the VM cluster network nodes.CREATING - The resource is being created REQUIRES_VALIDATION - The resource is created and may not be usable until it is validated. VALIDATING - The resource is being validated and not available to use. VALIDATED - The resource is validated and is available for consumption by VM cluster. VALIDATION_FAILED - The resource validation has failed and might require user input to be corrected. UPDATING - The resource is being updated and not available to use. ALLOCATED - The resource is currently being used by VM cluster. TERMINATING - The resource is being deleted and not available to use. TERMINATED - The resource is deleted and unavailable. FAILED - The resource is in a failed state due to validation or other errors.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Allocated
Creating
Failed
RequiresValidation
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.Updating
Validated
Validating
ValidationFailed
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NodeDetails.LifecycleState
create(String key)
String
getValue()
static NodeDetails.LifecycleState
valueOf(String name)
Returns the enum constant of this type with the specified name.static NodeDetails.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 NodeDetails.LifecycleState Creating
-
RequiresValidation
public static final NodeDetails.LifecycleState RequiresValidation
-
Validating
public static final NodeDetails.LifecycleState Validating
-
Validated
public static final NodeDetails.LifecycleState Validated
-
ValidationFailed
public static final NodeDetails.LifecycleState ValidationFailed
-
Updating
public static final NodeDetails.LifecycleState Updating
-
Allocated
public static final NodeDetails.LifecycleState Allocated
-
Terminating
public static final NodeDetails.LifecycleState Terminating
-
Terminated
public static final NodeDetails.LifecycleState Terminated
-
Failed
public static final NodeDetails.LifecycleState Failed
-
UnknownEnumValue
public static final NodeDetails.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 NodeDetails.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 (NodeDetails.LifecycleState c : NodeDetails.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 NodeDetails.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 NodeDetails.LifecycleState create(String key)
-
-