Enum DrPlanUserDefinedStep.StepType
- java.lang.Object
-
- java.lang.Enum<DrPlanUserDefinedStep.StepType>
-
- com.oracle.bmc.disasterrecovery.model.DrPlanUserDefinedStep.StepType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<DrPlanUserDefinedStep.StepType>
- Enclosing class:
- DrPlanUserDefinedStep
public static enum DrPlanUserDefinedStep.StepType extends Enum<DrPlanUserDefinedStep.StepType> implements BmcEnum
The type of the user-defined step.*RUN_OBJECTSTORE_SCRIPT_PRECHECK** - A step which performs a precheck on a script stored in OCI object storage.
*RUN_LOCAL_SCRIPT_PRECHECK** - A step which performs a precheck on a script which resides locally on a compute instance.
*INVOKE_FUNCTION_PRECHECK** - A step which performs a precheck on an OCI function. 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.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description InvokeFunction
InvokeFunctionPrecheck
RunLocalScript
RunLocalScriptPrecheck
RunObjectstoreScript
RunObjectstoreScriptPrecheck
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 DrPlanUserDefinedStep.StepType
create(String key)
String
getValue()
static DrPlanUserDefinedStep.StepType
valueOf(String name)
Returns the enum constant of this type with the specified name.static DrPlanUserDefinedStep.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 DrPlanUserDefinedStep.StepType RunObjectstoreScriptPrecheck
-
RunLocalScriptPrecheck
public static final DrPlanUserDefinedStep.StepType RunLocalScriptPrecheck
-
InvokeFunctionPrecheck
public static final DrPlanUserDefinedStep.StepType InvokeFunctionPrecheck
-
RunObjectstoreScript
public static final DrPlanUserDefinedStep.StepType RunObjectstoreScript
-
RunLocalScript
public static final DrPlanUserDefinedStep.StepType RunLocalScript
-
InvokeFunction
public static final DrPlanUserDefinedStep.StepType InvokeFunction
-
UnknownEnumValue
public static final DrPlanUserDefinedStep.StepType 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 DrPlanUserDefinedStep.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 (DrPlanUserDefinedStep.StepType c : DrPlanUserDefinedStep.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 DrPlanUserDefinedStep.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 DrPlanUserDefinedStep.StepType create(String key)
-
-