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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DecisionTaskCompletedEventAttributes.BuilderexecutionContext(String executionContext)User defined context for the workflow execution.DecisionTaskCompletedEventAttributes.BuilderscheduledEventId(Long scheduledEventId)The ID of theDecisionTaskScheduledevent that was recorded when this decision task was scheduled.DecisionTaskCompletedEventAttributes.BuilderstartedEventId(Long startedEventId)The ID of theDecisionTaskStartedevent recorded when this decision task was started.default DecisionTaskCompletedEventAttributes.BuildertaskList(Consumer<TaskList.Builder> taskList)Sets the value of the TaskList property for this object.DecisionTaskCompletedEventAttributes.BuildertaskList(TaskList taskList)Sets the value of the TaskList property for this object.DecisionTaskCompletedEventAttributes.BuildertaskListScheduleToStartTimeout(String taskListScheduleToStartTimeout)The maximum amount of time the decision task can wait to be assigned to a worker.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
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
DecisionTaskScheduledevent 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 theDecisionTaskScheduledevent 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
DecisionTaskStartedevent 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 theDecisionTaskStartedevent 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.
-
taskList
default DecisionTaskCompletedEventAttributes.Builder taskList(Consumer<TaskList.Builder> taskList)
Sets the value of the TaskList property for this object. This is a convenience method that creates an instance of theTaskList.Builderavoiding the need to create one manually viaTaskList.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totaskList(TaskList).- Parameters:
taskList- a consumer that will call methods onTaskList.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
taskList(TaskList)
-
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.
-
-