Interface DecisionTaskCompletedEventAttributes.Builder

All Superinterfaces:
Buildable, CopyableBuilder<DecisionTaskCompletedEventAttributes.Builder,DecisionTaskCompletedEventAttributes>, SdkBuilder<DecisionTaskCompletedEventAttributes.Builder,DecisionTaskCompletedEventAttributes>, SdkPojo
Enclosing class:
DecisionTaskCompletedEventAttributes

public static interface DecisionTaskCompletedEventAttributes.Builder extends SdkPojo, CopyableBuilder<DecisionTaskCompletedEventAttributes.Builder,DecisionTaskCompletedEventAttributes>
  • Method Details

    • executionContext

      DecisionTaskCompletedEventAttributes.Builder executionContext(String executionContext)

      User defined context for the workflow execution.

      Parameters:
      executionContext - User defined context for the workflow execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scheduledEventId

      DecisionTaskCompletedEventAttributes.Builder scheduledEventId(Long scheduledEventId)

      The ID of the DecisionTaskScheduled event that was recorded when this decision task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

      Parameters:
      scheduledEventId - The ID of the DecisionTaskScheduled event that was recorded when this decision task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startedEventId

      DecisionTaskCompletedEventAttributes.Builder startedEventId(Long startedEventId)

      The ID of the DecisionTaskStarted event recorded when this decision task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

      Parameters:
      startedEventId - The ID of the DecisionTaskStarted event recorded when this decision task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • taskList

      Sets the value of the TaskList property for this object.
      Parameters:
      taskList - The new value for the TaskList property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • taskList

      Sets the value of the TaskList property for this object. This is a convenience method that creates an instance of the TaskList.Builder avoiding the need to create one manually via TaskList.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to taskList(TaskList).

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

      DecisionTaskCompletedEventAttributes.Builder taskListScheduleToStartTimeout(String taskListScheduleToStartTimeout)

      The maximum amount of time the decision task can wait to be assigned to a worker.

      Parameters:
      taskListScheduleToStartTimeout - The maximum amount of time the decision task can wait to be assigned to a worker.
      Returns:
      Returns a reference to this object so that method calls can be chained together.