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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
SendTaskFailureRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
SendTaskFailureRequest.Builder |
taskToken(String taskToken)
The token that represents this task.
|
build
requestOverrideConfig
copy
apply, 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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.SendTaskFailureRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.