public static interface RespondDecisionTaskCompletedRequest.Builder extends SwfRequest.Builder, 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)
Add an optional request override configuration.
|
RespondDecisionTaskCompletedRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
RespondDecisionTaskCompletedRequest.Builder |
taskToken(String taskToken)
The
taskToken from the DecisionTask. |
build
overrideConfiguration
copy
applyMutation, build
RespondDecisionTaskCompletedRequest.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 that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #decisions(List)
.decisions
- a consumer that will call methods on List.Builder
#decisions(List)
RespondDecisionTaskCompletedRequest.Builder executionContext(String executionContext)
User defined context to add to workflow execution.
executionContext
- User defined context to add to workflow execution.RespondDecisionTaskCompletedRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.RespondDecisionTaskCompletedRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.