public static interface SetTaskStatusRequest.Builder extends DataPipelineRequest.Builder, CopyableBuilder<SetTaskStatusRequest.Builder,SetTaskStatusRequest>
Modifier and Type | Method and Description |
---|---|
SetTaskStatusRequest.Builder |
errorId(String errorId)
If an error occurred during the task, this value specifies the error code.
|
SetTaskStatusRequest.Builder |
errorMessage(String errorMessage)
If an error occurred during the task, this value specifies a text description of the error.
|
SetTaskStatusRequest.Builder |
errorStackTrace(String errorStackTrace)
If an error occurred during the task, this value specifies the stack trace associated with the error.
|
SetTaskStatusRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
SetTaskStatusRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
SetTaskStatusRequest.Builder |
taskId(String taskId)
The ID of the task assigned to the task runner.
|
SetTaskStatusRequest.Builder |
taskStatus(String taskStatus)
If
FINISHED , the task successfully completed. |
SetTaskStatusRequest.Builder |
taskStatus(TaskStatus taskStatus)
If
FINISHED , the task successfully completed. |
build
overrideConfiguration
copy
applyMutation, build
SetTaskStatusRequest.Builder taskId(String taskId)
The ID of the task assigned to the task runner. This value is provided in the response for PollForTask.
taskId
- The ID of the task assigned to the task runner. This value is provided in the response for
PollForTask.SetTaskStatusRequest.Builder taskStatus(String taskStatus)
If FINISHED
, the task successfully completed. If FAILED
, the task ended
unsuccessfully. Preconditions use false.
taskStatus
- If FINISHED
, the task successfully completed. If FAILED
, the task ended
unsuccessfully. Preconditions use false.TaskStatus
,
TaskStatus
SetTaskStatusRequest.Builder taskStatus(TaskStatus taskStatus)
If FINISHED
, the task successfully completed. If FAILED
, the task ended
unsuccessfully. Preconditions use false.
taskStatus
- If FINISHED
, the task successfully completed. If FAILED
, the task ended
unsuccessfully. Preconditions use false.TaskStatus
,
TaskStatus
SetTaskStatusRequest.Builder errorId(String errorId)
If an error occurred during the task, this value specifies the error code. This value is set on the physical attempt object. It is used to display error information to the user. It should not start with string "Service_" which is reserved by the system.
errorId
- If an error occurred during the task, this value specifies the error code. This value is set on the
physical attempt object. It is used to display error information to the user. It should not start with
string "Service_" which is reserved by the system.SetTaskStatusRequest.Builder errorMessage(String errorMessage)
If an error occurred during the task, this value specifies a text description of the error. This value is set on the physical attempt object. It is used to display error information to the user. The web service does not parse this value.
errorMessage
- If an error occurred during the task, this value specifies a text description of the error. This value
is set on the physical attempt object. It is used to display error information to the user. The web
service does not parse this value.SetTaskStatusRequest.Builder errorStackTrace(String errorStackTrace)
If an error occurred during the task, this value specifies the stack trace associated with the error. This value is set on the physical attempt object. It is used to display error information to the user. The web service does not parse this value.
errorStackTrace
- If an error occurred during the task, this value specifies the stack trace associated with the error.
This value is set on the physical attempt object. It is used to display error information to the user.
The web service does not parse this value.SetTaskStatusRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.SetTaskStatusRequest.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.