@Generated(value="OracleSDKGenerator", comments="API Version: 20200909") public final class FunctionTaskDetails extends TaskDetails
The Functions task. Batch input for a function can be limited by either size or time. The first
limit reached determines the boundary of the batch. For configuration instructions, see Creating
a
Connector.
Note: Objects should always be created or deserialized using the FunctionTaskDetails.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the FunctionTaskDetails.Builder
, which maintain a
set of all explicitly set fields called FunctionTaskDetails.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
FunctionTaskDetails.Builder |
TaskDetails.Kind
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
FunctionTaskDetails(String functionId,
Integer batchSizeInKbs,
Integer batchTimeInSec)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static FunctionTaskDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Integer |
getBatchSizeInKbs()
Size limit (kilobytes) for batch sent to invoke the function.
|
Integer |
getBatchTimeInSec()
Time limit (seconds) for batch sent to invoke the function.
|
String |
getFunctionId()
The OCID of
the function to be used as a task.
|
int |
hashCode() |
FunctionTaskDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public FunctionTaskDetails(String functionId, Integer batchSizeInKbs, Integer batchTimeInSec)
public static FunctionTaskDetails.Builder builder()
Create a new builder.
public FunctionTaskDetails.Builder toBuilder()
public String getFunctionId()
The OCID of the function to be used as a task.
public Integer getBatchSizeInKbs()
Size limit (kilobytes) for batch sent to invoke the function.
public Integer getBatchTimeInSec()
Time limit (seconds) for batch sent to invoke the function.
public String toString()
toString
in class TaskDetails
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class TaskDetails
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class TaskDetails
public int hashCode()
hashCode
in class TaskDetails
Copyright © 2016–2024. All rights reserved.