public static interface SendTaskFailureRequest.Builder extends SfnRequest.Builder, CopyableBuilder<SendTaskFailureRequest.Builder,SendTaskFailureRequest>
Modifier and Type | Method and Description |
---|---|
SendTaskFailureRequest.Builder |
cause(String cause)
A more detailed explanation of the cause of the failure.
|
SendTaskFailureRequest.Builder |
error(String error)
An arbitrary error code that identifies the cause of the failure.
|
SendTaskFailureRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
SendTaskFailureRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
SendTaskFailureRequest.Builder |
taskToken(String taskToken)
The token that represents this task.
|
build
overrideConfiguration
copy
applyMutation, build
SendTaskFailureRequest.Builder taskToken(String taskToken)
The token that represents this task. Task tokens are generated by the service when the tasks are assigned to a worker (see GetActivityTask::taskToken).
taskToken
- The token that represents this task. Task tokens are generated by the service when the tasks are
assigned to a worker (see GetActivityTask::taskToken).SendTaskFailureRequest.Builder error(String error)
An arbitrary error code that identifies the cause of the failure.
error
- An arbitrary error code that identifies the cause of the failure.SendTaskFailureRequest.Builder cause(String cause)
A more detailed explanation of the cause of the failure.
cause
- A more detailed explanation of the cause of the failure.SendTaskFailureRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.SendTaskFailureRequest.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.