Class InvokeFunctionRequest
- java.lang.Object
- 
- com.oracle.bmc.requests.BmcRequest<InputStream>
- 
- com.oracle.bmc.functions.requests.InvokeFunctionRequest
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public class InvokeFunctionRequest extends BmcRequest<InputStream>Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/functions/InvokeFunctionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use InvokeFunctionRequest. 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classInvokeFunctionRequest.Builderstatic classInvokeFunctionRequest.FnIntentAn optional intent header that indicates to the FDK the way the event should be interpreted.static classInvokeFunctionRequest.FnInvokeTypeIndicates whether Oracle Functions should execute the request and return the result (‘sync’) of the execution, or whether Oracle Functions should return as soon as processing has begun (‘detached’) and leave result handling to the function.
 - 
Constructor SummaryConstructors Constructor Description InvokeFunctionRequest()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InvokeFunctionRequest.Builderbuilder()Return a new builder for this request object.booleanequals(Object o)Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.InputStreamgetBody$()Alternative accessor for the body parameter.InvokeFunctionRequest.FnIntentgetFnIntent()An optional intent header that indicates to the FDK the way the event should be interpreted.InvokeFunctionRequest.FnInvokeTypegetFnInvokeType()Indicates whether Oracle Functions should execute the request and return the result (‘sync’) of the execution, or whether Oracle Functions should return as soon as processing has begun (‘detached’) and leave result handling to the function.StringgetFunctionId()The OCID of this function.InputStreamgetInvokeFunctionBody()The body of the function invocation.BooleangetIsDryRun()Indicates that the request is a dry run, if set to “true”.StringgetOpcRequestId()The unique Oracle-assigned identifier for the request.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.InvokeFunctionRequest.BuildertoBuilder()Return an instance ofInvokeFunctionRequest.Builderthat allows you to modify request properties.StringtoString()- 
Methods inherited from class com.oracle.bmc.requests.BmcRequestgetInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
 
- 
 
- 
- 
- 
Method Detail- 
getInvokeFunctionBodypublic InputStream getInvokeFunctionBody() The body of the function invocation.Note: The maximum size of the request is limited. This limit is currently 6MB and the endpoint will not accept requests that are bigger than this limit. 
 - 
getFnIntentpublic InvokeFunctionRequest.FnIntent getFnIntent() An optional intent header that indicates to the FDK the way the event should be interpreted.E.g. ‘httprequest’, ‘cloudevent’. 
 - 
getFnInvokeTypepublic InvokeFunctionRequest.FnInvokeType getFnInvokeType() Indicates whether Oracle Functions should execute the request and return the result (‘sync’) of the execution, or whether Oracle Functions should return as soon as processing has begun (‘detached’) and leave result handling to the function.
 - 
getOpcRequestIdpublic String getOpcRequestId() The unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID. 
 - 
getIsDryRunpublic Boolean getIsDryRun() Indicates that the request is a dry run, if set to “true”.A dry run request does not execute the function. 
 - 
getBody$public InputStream getBody$() Alternative accessor for the body parameter.- Overrides:
- getBody$in class- BmcRequest<InputStream>
- Returns:
- body parameter
 
 - 
toBuilderpublic InvokeFunctionRequest.Builder toBuilder() Return an instance ofInvokeFunctionRequest.Builderthat allows you to modify request properties.- Returns:
- instance of InvokeFunctionRequest.Builderthat allows you to modify request properties.
 
 - 
builderpublic static InvokeFunctionRequest.Builder builder() Return a new builder for this request object.- Returns:
- builder for the request object
 
 - 
equalspublic boolean equals(Object o) Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
- equalsin class- BmcRequest<InputStream>
 
 - 
hashCodepublic int hashCode() Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
- hashCodein class- BmcRequest<InputStream>
 
 
- 
 
-