Enum UpdateDrPlanUserDefinedStepDetails.StepType
- java.lang.Object
-
- java.lang.Enum<UpdateDrPlanUserDefinedStepDetails.StepType>
-
- com.oracle.bmc.disasterrecovery.model.UpdateDrPlanUserDefinedStepDetails.StepType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<UpdateDrPlanUserDefinedStepDetails.StepType>
- Enclosing class:
- UpdateDrPlanUserDefinedStepDetails
public static enum UpdateDrPlanUserDefinedStepDetails.StepType extends Enum<UpdateDrPlanUserDefinedStepDetails.StepType> implements BmcEnum
The type of the user-defined step.*RUN_OBJECTSTORE_SCRIPT_PRECHECK** - A built-in step which performs a precheck on a script stored in OCI object storage. This step cannot be added, deleted, or customized by the user.
*RUN_LOCAL_SCRIPT_PRECHECK** - A built-in step which performs a precheck on a script which resides locally on a compute instance. This step cannot be added, deleted, or customized by the user.
*INVOKE_FUNCTION_PRECHECK** - A built-in step which performs a precheck on an OCI function. This step cannot be added, deleted, or customized by the user. See https://docs.oracle.com/en-us/iaas/Content/Functions/home.htm.
*RUN_OBJECTSTORE_SCRIPT** - A step which runs a script stored in OCI object storage.
*RUN_LOCAL_SCRIPT** - A step which runs a script that resides locally on a compute instance.
*INVOKE_FUNCTION** - A step which invokes an OCI function. See https://docs.oracle.com/en-us/iaas/Content/Functions/home.htm.
*RUN_OBJECTSTORE_SCRIPT_USER_DEFINED_CUSTOM_PRECHECK** - A user-defined step which performs a precheck by executing a user-provided script stored in OCI object storage.
*RUN_LOCAL_SCRIPT_USER_DEFINED_CUSTOM_PRECHECK** - A user-defined step which performs a precheck by executing a user-provided script which resides locally on a compute instance.
*INVOKE_FUNCTION_USER_DEFINED_CUSTOM_PRECHECK** - A user-defined step which performs a precheck by executing a user-provided OCI function. See https://docs.oracle.com/en-us/iaas/Content/Functions/home.htm.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateDrPlanUserDefinedStepDetails.StepType
create(String key)
String
getValue()
static UpdateDrPlanUserDefinedStepDetails.StepType
valueOf(String name)
Returns the enum constant of this type with the specified name.static UpdateDrPlanUserDefinedStepDetails.StepType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RunObjectstoreScriptPrecheck
public static final UpdateDrPlanUserDefinedStepDetails.StepType RunObjectstoreScriptPrecheck
-
RunLocalScriptPrecheck
public static final UpdateDrPlanUserDefinedStepDetails.StepType RunLocalScriptPrecheck
-
InvokeFunctionPrecheck
public static final UpdateDrPlanUserDefinedStepDetails.StepType InvokeFunctionPrecheck
-
RunObjectstoreScript
public static final UpdateDrPlanUserDefinedStepDetails.StepType RunObjectstoreScript
-
RunLocalScript
public static final UpdateDrPlanUserDefinedStepDetails.StepType RunLocalScript
-
InvokeFunction
public static final UpdateDrPlanUserDefinedStepDetails.StepType InvokeFunction
-
RunObjectstoreScriptUserDefinedCustomPrecheck
public static final UpdateDrPlanUserDefinedStepDetails.StepType RunObjectstoreScriptUserDefinedCustomPrecheck
-
RunLocalScriptUserDefinedCustomPrecheck
public static final UpdateDrPlanUserDefinedStepDetails.StepType RunLocalScriptUserDefinedCustomPrecheck
-
InvokeFunctionUserDefinedCustomPrecheck
public static final UpdateDrPlanUserDefinedStepDetails.StepType InvokeFunctionUserDefinedCustomPrecheck
-
-
Method Detail
-
values
public static UpdateDrPlanUserDefinedStepDetails.StepType[] 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 (UpdateDrPlanUserDefinedStepDetails.StepType c : UpdateDrPlanUserDefinedStepDetails.StepType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UpdateDrPlanUserDefinedStepDetails.StepType 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 UpdateDrPlanUserDefinedStepDetails.StepType create(String key)
-
-