@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public class InvokeFunctionRequest extends BmcRequest<InputStream>
Example: Click here to see how to use InvokeFunctionRequest.
Modifier and Type | Class and Description |
---|---|
static class |
InvokeFunctionRequest.Builder |
static class |
InvokeFunctionRequest.FnIntent
An optional intent header that indicates to the FDK the way the event should be interpreted.
|
static class |
InvokeFunctionRequest.FnInvokeType
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.
|
Constructor and Description |
---|
InvokeFunctionRequest() |
Modifier and Type | Method and Description |
---|---|
static InvokeFunctionRequest.Builder |
builder()
Return a new builder for this request object.
|
boolean |
equals(Object o)
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal
to ‘this’.
|
InputStream |
getBody$()
Alternative accessor for the body parameter.
|
InvokeFunctionRequest.FnIntent |
getFnIntent()
An optional intent header that indicates to the FDK the way the event should be interpreted.
|
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.
|
String |
getFunctionId()
The OCID of
this function.
|
InputStream |
getInvokeFunctionBody()
The body of the function invocation.
|
String |
getOpcRequestId()
The unique Oracle-assigned identifier for the request.
|
int |
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.
|
InvokeFunctionRequest.Builder |
toBuilder()
Return an instance of
InvokeFunctionRequest.Builder that allows you to modify request properties. |
String |
toString() |
getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
public 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.
public InvokeFunctionRequest.FnIntent getFnIntent()
An optional intent header that indicates to the FDK the way the event should be interpreted. E.g. ‘httprequest’, ‘cloudevent’.
public 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.
public 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.
public InputStream getBody$()
Alternative accessor for the body parameter.
getBody$
in class BmcRequest<InputStream>
public InvokeFunctionRequest.Builder toBuilder()
Return an instance of InvokeFunctionRequest.Builder
that allows you to modify request properties.
InvokeFunctionRequest.Builder
that allows you to modify request properties.public static InvokeFunctionRequest.Builder builder()
Return a new builder for this request object.
public boolean equals(Object o)
BmcRequest
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.
equals
in class BmcRequest<InputStream>
public int hashCode()
BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.
hashCode
in class BmcRequest<InputStream>
Copyright © 2016–2024. All rights reserved.