Class InvokeFunctionUserDefinedCustomPrecheckStep.Builder
- java.lang.Object
-
- com.oracle.bmc.disasterrecovery.model.InvokeFunctionUserDefinedCustomPrecheckStep.Builder
-
- Enclosing class:
- InvokeFunctionUserDefinedCustomPrecheckStep
public static class InvokeFunctionUserDefinedCustomPrecheckStep.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InvokeFunctionUserDefinedCustomPrecheckStep
build()
InvokeFunctionUserDefinedCustomPrecheckStep.Builder
copy(InvokeFunctionUserDefinedCustomPrecheckStep model)
InvokeFunctionUserDefinedCustomPrecheckStep.Builder
functionId(String functionId)
The OCID of function to be invoked.InvokeFunctionUserDefinedCustomPrecheckStep.Builder
functionRegion(String functionRegion)
The region in which the function is deployed.InvokeFunctionUserDefinedCustomPrecheckStep.Builder
requestBody(String requestBody)
The request body for the function.
-
-
-
Method Detail
-
functionId
public InvokeFunctionUserDefinedCustomPrecheckStep.Builder functionId(String functionId)
The OCID of function to be invoked.Example: ocid1.fnfunc.oc1..uniqueID
- Parameters:
functionId
- the value to set- Returns:
- this builder
-
functionRegion
public InvokeFunctionUserDefinedCustomPrecheckStep.Builder functionRegion(String functionRegion)
The region in which the function is deployed.Example: us-ashburn-1
- Parameters:
functionRegion
- the value to set- Returns:
- this builder
-
requestBody
public InvokeFunctionUserDefinedCustomPrecheckStep.Builder requestBody(String requestBody)
The request body for the function.Example: { "FnParam1", "FnParam2" }
- Parameters:
requestBody
- the value to set- Returns:
- this builder
-
build
public InvokeFunctionUserDefinedCustomPrecheckStep build()
-
copy
public InvokeFunctionUserDefinedCustomPrecheckStep.Builder copy(InvokeFunctionUserDefinedCustomPrecheckStep model)
-
-