public static interface RespondDecisionTaskCompletedRequest.Builder extends SwfRequest.Builder, SdkPojo, CopyableBuilder<RespondDecisionTaskCompletedRequest.Builder,RespondDecisionTaskCompletedRequest>
| Modifier and Type | Method and Description |
|---|---|
RespondDecisionTaskCompletedRequest.Builder |
decisions(Collection<Decision> decisions)
The list of decisions (possibly empty) made by the decider while processing this decision task.
|
RespondDecisionTaskCompletedRequest.Builder |
decisions(Consumer<Decision.Builder>... decisions)
The list of decisions (possibly empty) made by the decider while processing this decision task.
|
RespondDecisionTaskCompletedRequest.Builder |
decisions(Decision... decisions)
The list of decisions (possibly empty) made by the decider while processing this decision task.
|
RespondDecisionTaskCompletedRequest.Builder |
executionContext(String executionContext)
User defined context to add to workflow execution.
|
RespondDecisionTaskCompletedRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
RespondDecisionTaskCompletedRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
default RespondDecisionTaskCompletedRequest.Builder |
taskList(Consumer<TaskList.Builder> taskList)
The task list to use for the future decision tasks of this workflow execution.
|
RespondDecisionTaskCompletedRequest.Builder |
taskList(TaskList taskList)
The task list to use for the future decision tasks of this workflow execution.
|
RespondDecisionTaskCompletedRequest.Builder |
taskListScheduleToStartTimeout(String taskListScheduleToStartTimeout)
Specifies a timeout (in seconds) for the task list override.
|
RespondDecisionTaskCompletedRequest.Builder |
taskToken(String taskToken)
The
taskToken from the DecisionTask. |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildRespondDecisionTaskCompletedRequest.Builder taskToken(String taskToken)
The taskToken from the DecisionTask.
taskToken is generated by the service and should be treated as an opaque value. If the task is
passed to another process, its taskToken must also be passed. This enables it to provide its
progress and respond with results.
taskToken - The taskToken from the DecisionTask.
taskToken is generated by the service and should be treated as an opaque value. If the
task is passed to another process, its taskToken must also be passed. This enables it to
provide its progress and respond with results.
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.
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.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.
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.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.Builder avoiding the need to create one manually
via Decision.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #decisions(List.
decisions - a consumer that will call methods on
Decision.Builder#decisions(java.util.Collection) RespondDecisionTaskCompletedRequest.Builder executionContext(String executionContext)
User defined context to add to workflow execution.
executionContext - User defined context to add to workflow execution.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.
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.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.Builder avoiding the need to
create one manually via TaskList.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to taskList(TaskList).
taskList - a consumer that will call methods on TaskList.BuildertaskList(TaskList)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.
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.
RespondDecisionTaskCompletedRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderRespondDecisionTaskCompletedRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.