Interface DecisionTaskCompletedEventAttributes.Builder

    • Method Detail

      • 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

        DecisionTaskCompletedEventAttributes.Builder taskList​(TaskList 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.
      • 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.