Interface RespondDecisionTaskCompletedRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<RespondDecisionTaskCompletedRequest.Builder,RespondDecisionTaskCompletedRequest>,SdkBuilder<RespondDecisionTaskCompletedRequest.Builder,RespondDecisionTaskCompletedRequest>,SdkPojo,SdkRequest.Builder,SwfRequest.Builder
- Enclosing class:
- RespondDecisionTaskCompletedRequest
@Mutable @NotThreadSafe public static interface RespondDecisionTaskCompletedRequest.Builder extends SwfRequest.Builder, SdkPojo, CopyableBuilder<RespondDecisionTaskCompletedRequest.Builder,RespondDecisionTaskCompletedRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RespondDecisionTaskCompletedRequest.Builderdecisions(Collection<Decision> decisions)The list of decisions (possibly empty) made by the decider while processing this decision task.RespondDecisionTaskCompletedRequest.Builderdecisions(Consumer<Decision.Builder>... decisions)The list of decisions (possibly empty) made by the decider while processing this decision task.RespondDecisionTaskCompletedRequest.Builderdecisions(Decision... decisions)The list of decisions (possibly empty) made by the decider while processing this decision task.RespondDecisionTaskCompletedRequest.BuilderexecutionContext(String executionContext)User defined context to add to workflow execution.RespondDecisionTaskCompletedRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)RespondDecisionTaskCompletedRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default RespondDecisionTaskCompletedRequest.BuildertaskList(Consumer<TaskList.Builder> taskList)The task list to use for the future decision tasks of this workflow execution.RespondDecisionTaskCompletedRequest.BuildertaskList(TaskList taskList)The task list to use for the future decision tasks of this workflow execution.RespondDecisionTaskCompletedRequest.BuildertaskListScheduleToStartTimeout(String taskListScheduleToStartTimeout)Specifies a timeout (in seconds) for the task list override.RespondDecisionTaskCompletedRequest.BuildertaskToken(String taskToken)ThetaskTokenfrom the DecisionTask.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
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
-
Methods inherited from interface software.amazon.awssdk.services.swf.model.SwfRequest.Builder
build
-
-
-
-
Method Detail
-
taskToken
RespondDecisionTaskCompletedRequest.Builder taskToken(String taskToken)
The
taskTokenfrom the DecisionTask.taskTokenis generated by the service and should be treated as an opaque value. If the task is passed to another process, itstaskTokenmust also be passed. This enables it to provide its progress and respond with results.- Parameters:
taskToken- ThetaskTokenfrom the DecisionTask.taskTokenis generated by the service and should be treated as an opaque value. If the task is passed to another process, itstaskTokenmust also be passed. This enables it to provide its progress and respond with results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
decisions
RespondDecisionTaskCompletedRequest.Builder decisions(Collection<Decision> decisions)
The list of decisions (possibly empty) made by the decider while processing this decision task. See the docs for the Decision structure for details.
- Parameters:
decisions- The list of decisions (possibly empty) made by the decider while processing this decision task. See the docs for the Decision structure for details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
decisions
RespondDecisionTaskCompletedRequest.Builder decisions(Decision... decisions)
The list of decisions (possibly empty) made by the decider while processing this decision task. See the docs for the Decision structure for details.
- Parameters:
decisions- The list of decisions (possibly empty) made by the decider while processing this decision task. See the docs for the Decision structure for details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
decisions
RespondDecisionTaskCompletedRequest.Builder decisions(Consumer<Decision.Builder>... decisions)
The list of decisions (possibly empty) made by the decider while processing this decision task. See the docs for the Decision structure for details.
This is a convenience method that creates an instance of theDecision.Builderavoiding the need to create one manually viaDecision.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#decisions(List.) - Parameters:
decisions- a consumer that will call methods onDecision.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#decisions(java.util.Collection)
-
executionContext
RespondDecisionTaskCompletedRequest.Builder executionContext(String executionContext)
User defined context to add to workflow execution.
- Parameters:
executionContext- User defined context to add to workflow execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskList
RespondDecisionTaskCompletedRequest.Builder taskList(TaskList taskList)
The task list to use for the future decision tasks of this workflow execution. This list overrides the original task list you specified while starting the workflow execution.
- Parameters:
taskList- The task list to use for the future decision tasks of this workflow execution. This list overrides the original task list you specified while starting the workflow execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskList
default RespondDecisionTaskCompletedRequest.Builder taskList(Consumer<TaskList.Builder> taskList)
The task list to use for the future decision tasks of this workflow execution. This list overrides the original task list you specified while starting the workflow execution.
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
RespondDecisionTaskCompletedRequest.Builder taskListScheduleToStartTimeout(String taskListScheduleToStartTimeout)
Specifies a timeout (in seconds) for the task list override. When this parameter is missing, the task list override is permanent. This parameter makes it possible to temporarily override the task list. If a decision task scheduled on the override task list is not started within the timeout, the decision task will time out. Amazon SWF will revert the override and schedule a new decision task to the original task list.
If a decision task scheduled on the override task list is started within the timeout, but not completed within the start-to-close timeout, Amazon SWF will also revert the override and schedule a new decision task to the original task list.
- Parameters:
taskListScheduleToStartTimeout- Specifies a timeout (in seconds) for the task list override. When this parameter is missing, the task list override is permanent. This parameter makes it possible to temporarily override the task list. If a decision task scheduled on the override task list is not started within the timeout, the decision task will time out. Amazon SWF will revert the override and schedule a new decision task to the original task list.If a decision task scheduled on the override task list is started within the timeout, but not completed within the start-to-close timeout, Amazon SWF will also revert the override and schedule a new decision task to the original task list.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
RespondDecisionTaskCompletedRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
RespondDecisionTaskCompletedRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-