CopyableBuilder<SendTaskFailureRequest.Builder,SendTaskFailureRequest>
, SdkBuilder<SendTaskFailureRequest.Builder,SendTaskFailureRequest>
public static interface SendTaskFailureRequest.Builder extends CopyableBuilder<SendTaskFailureRequest.Builder,SendTaskFailureRequest>
Modifier and Type | Method | 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 |
taskToken(String taskToken) |
The token that represents this task.
|
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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.