Enum DrPlanExecutionLifecycleState
- java.lang.Object
-
- java.lang.Enum<DrPlanExecutionLifecycleState>
-
- com.oracle.bmc.disasterrecovery.model.DrPlanExecutionLifecycleState
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<DrPlanExecutionLifecycleState>
@Generated(value="OracleSDKGenerator", comments="API Version: 20220125") public enum DrPlanExecutionLifecycleState extends Enum<DrPlanExecutionLifecycleState> implements BmcEnum
The lifecycle states of a DR plan execution.- ACCEPTED - DR plan execution has been accepted. - IN_PROGRESS - DR plan execution is in progress. - WAITING - DR plan execution is waiting for user action. - CANCELING - DR plan execution is being canceled. - CANCELED - DR plan execution has been canceled. - SUCCEEDED - DR plan execution has succeeded. - FAILED - DR plan execution has failed. - DELETING - DR plan execution is being deleted. - DELETED - DR plan execution has been deleted. - PAUSING - DR plan execution is being paused. - PAUSED - DR plan execution has been paused. - RESUMING - DR plan execution is resuming.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DrPlanExecutionLifecycleState
create(String key)
String
getValue()
static DrPlanExecutionLifecycleState
valueOf(String name)
Returns the enum constant of this type with the specified name.static DrPlanExecutionLifecycleState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Accepted
public static final DrPlanExecutionLifecycleState Accepted
-
InProgress
public static final DrPlanExecutionLifecycleState InProgress
-
Waiting
public static final DrPlanExecutionLifecycleState Waiting
-
Canceling
public static final DrPlanExecutionLifecycleState Canceling
-
Canceled
public static final DrPlanExecutionLifecycleState Canceled
-
Succeeded
public static final DrPlanExecutionLifecycleState Succeeded
-
Failed
public static final DrPlanExecutionLifecycleState Failed
-
Deleting
public static final DrPlanExecutionLifecycleState Deleting
-
Deleted
public static final DrPlanExecutionLifecycleState Deleted
-
Pausing
public static final DrPlanExecutionLifecycleState Pausing
-
Paused
public static final DrPlanExecutionLifecycleState Paused
-
Resuming
public static final DrPlanExecutionLifecycleState Resuming
-
UnknownEnumValue
public static final DrPlanExecutionLifecycleState 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 DrPlanExecutionLifecycleState[] 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 (DrPlanExecutionLifecycleState c : DrPlanExecutionLifecycleState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DrPlanExecutionLifecycleState 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 DrPlanExecutionLifecycleState create(String key)
-
-