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
Modifier and TypeMethodDescriptionexecutionContext
(String executionContext) User defined context for the workflow execution.scheduledEventId
(Long scheduledEventId) The ID of theDecisionTaskScheduled
event that was recorded when this decision task was scheduled.startedEventId
(Long startedEventId) The ID of theDecisionTaskStarted
event recorded when this decision task was started.taskList
(Consumer<TaskList.Builder> taskList) Sets the value of the TaskList property for this object.Sets the value of the TaskList property for this object.taskListScheduleToStartTimeout
(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 Details
-
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
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 theDecisionTaskScheduled
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
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 theDecisionTaskStarted
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 theTaskList.Builder
avoiding the need to create one manually viaTaskList.builder()
.When the
Consumer
completes,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:
-
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.
-