Class FunctionTaskDetails


  • @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).

    • Constructor Detail

    • Method Detail

      • getFunctionId

        public String getFunctionId()
        The OCID of the function to be used as a task.
        Returns:
        the value
      • getBatchSizeInKbs

        public Integer getBatchSizeInKbs()
        Size limit (kilobytes) for batch sent to invoke the function.
        Returns:
        the value
      • getBatchTimeInSec

        public Integer getBatchTimeInSec()
        Time limit (seconds) for batch sent to invoke the function.
        Returns:
        the value
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Overrides:
        toString in class TaskDetails
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation