Interface SequentialExecutorConfiguration.Builder

  • Method Details

    • runtime

      The expression language used to evaluate expressions in the function configuration. Set this to JSONata.

      Parameters:
      runtime - The expression language used to evaluate expressions in the function configuration. Set this to JSONata.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • runtime

      The expression language used to evaluate expressions in the function configuration. Set this to JSONata.

      Parameters:
      runtime - The expression language used to evaluate expressions in the function configuration. Set this to JSONata.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • output

      An optional map of output bindings that controls which bindings the sequence commits to the session state after all steps complete. If omitted, MediaTailor commits all accumulated output bindings from all child steps.

      Parameters:
      output - An optional map of output bindings that controls which bindings the sequence commits to the session state after all steps complete. If omitted, MediaTailor commits all accumulated output bindings from all child steps.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • functionList

      An ordered list of 1 to 10 steps. Each step specifies a child function to execute and an optional run condition expression that controls whether the step runs. MediaTailor executes steps in order, passing data between steps through temporary data.

      Parameters:
      functionList - An ordered list of 1 to 10 steps. Each step specifies a child function to execute and an optional run condition expression that controls whether the step runs. MediaTailor executes steps in order, passing data between steps through temporary data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • functionList

      An ordered list of 1 to 10 steps. Each step specifies a child function to execute and an optional run condition expression that controls whether the step runs. MediaTailor executes steps in order, passing data between steps through temporary data.

      Parameters:
      functionList - An ordered list of 1 to 10 steps. Each step specifies a child function to execute and an optional run condition expression that controls whether the step runs. MediaTailor executes steps in order, passing data between steps through temporary data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • functionList

      An ordered list of 1 to 10 steps. Each step specifies a child function to execute and an optional run condition expression that controls whether the step runs. MediaTailor executes steps in order, passing data between steps through temporary data.

      This is a convenience method that creates an instance of the FunctionRef.Builder avoiding the need to create one manually via FunctionRef.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to functionList(List<FunctionRef>).

      Parameters:
      functionList - a consumer that will call methods on FunctionRef.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • timeoutMilliseconds

      SequentialExecutorConfiguration.Builder timeoutMilliseconds(Integer timeoutMilliseconds)

      The maximum time, in milliseconds, for the entire sequence to complete. This timeout covers all steps, including any HTTP calls made by child functions. If the sequence exceeds this timeout, MediaTailor discards all output from the sequence and proceeds with default behavior.

      Parameters:
      timeoutMilliseconds - The maximum time, in milliseconds, for the entire sequence to complete. This timeout covers all steps, including any HTTP calls made by child functions. If the sequence exceeds this timeout, MediaTailor discards all output from the sequence and proceeds with default behavior.
      Returns:
      Returns a reference to this object so that method calls can be chained together.