Interface DecisionTaskCompletedEventAttributes.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<DecisionTaskCompletedEventAttributes.Builder,DecisionTaskCompletedEventAttributes>
,SdkBuilder<DecisionTaskCompletedEventAttributes.Builder,DecisionTaskCompletedEventAttributes>
,SdkPojo
- Enclosing class:
- DecisionTaskCompletedEventAttributes
@Mutable @NotThreadSafe 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.Builder
executionContext(String executionContext)
User defined context for the workflow execution.DecisionTaskCompletedEventAttributes.Builder
scheduledEventId(Long scheduledEventId)
The ID of theDecisionTaskScheduled
event that was recorded when this decision task was scheduled.DecisionTaskCompletedEventAttributes.Builder
startedEventId(Long startedEventId)
The ID of theDecisionTaskStarted
event recorded when this decision task was started.default DecisionTaskCompletedEventAttributes.Builder
taskList(Consumer<TaskList.Builder> taskList)
Sets the value of the TaskList property for this object.DecisionTaskCompletedEventAttributes.Builder
taskList(TaskList taskList)
Sets the value of the TaskList property for this object.DecisionTaskCompletedEventAttributes.Builder
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, sdkFieldNameToField, 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
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
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 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
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.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:
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.
-
-