public static class InvokeFunctionStep.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
InvokeFunctionStep |
build() |
InvokeFunctionStep.Builder |
copy(InvokeFunctionStep model) |
InvokeFunctionStep.Builder |
functionId(String functionId)
The OCID of function to be invoked.
|
InvokeFunctionStep.Builder |
functionRegion(String functionRegion)
The region in which the function is deployed.
|
InvokeFunctionStep.Builder |
requestBody(String requestBody)
The request body for the function.
|
public InvokeFunctionStep.Builder functionId(String functionId)
The OCID of function to be invoked.
Example: ocid1.fnfunc.oc1..uniqueID
functionId
- the value to setpublic InvokeFunctionStep.Builder functionRegion(String functionRegion)
The region in which the function is deployed.
Example: us-ashburn-1
functionRegion
- the value to setpublic InvokeFunctionStep.Builder requestBody(String requestBody)
The request body for the function.
Example: { "FnParam1", "FnParam2" }
requestBody
- the value to setpublic InvokeFunctionStep build()
public InvokeFunctionStep.Builder copy(InvokeFunctionStep model)
Copyright © 2016–2024. All rights reserved.