Interface SetTaskStatusRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SetTaskStatusRequest.Builder,SetTaskStatusRequest>,DataPipelineRequest.Builder,SdkBuilder<SetTaskStatusRequest.Builder,SetTaskStatusRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- SetTaskStatusRequest
public static interface SetTaskStatusRequest.Builder extends DataPipelineRequest.Builder, SdkPojo, CopyableBuilder<SetTaskStatusRequest.Builder,SetTaskStatusRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SetTaskStatusRequest.BuildererrorId(String errorId)If an error occurred during the task, this value specifies the error code.SetTaskStatusRequest.BuildererrorMessage(String errorMessage)If an error occurred during the task, this value specifies a text description of the error.SetTaskStatusRequest.BuildererrorStackTrace(String errorStackTrace)If an error occurred during the task, this value specifies the stack trace associated with the error.SetTaskStatusRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)SetTaskStatusRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)SetTaskStatusRequest.BuildertaskId(String taskId)The ID of the task assigned to the task runner.SetTaskStatusRequest.BuildertaskStatus(String taskStatus)IfFINISHED, the task successfully completed.SetTaskStatusRequest.BuildertaskStatus(TaskStatus taskStatus)IfFINISHED, the task successfully completed.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.datapipeline.model.DataPipelineRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
taskId
SetTaskStatusRequest.Builder taskId(String taskId)
The ID of the task assigned to the task runner. This value is provided in the response for PollForTask.
- Parameters:
taskId- The ID of the task assigned to the task runner. This value is provided in the response for PollForTask.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskStatus
SetTaskStatusRequest.Builder taskStatus(String taskStatus)
If
FINISHED, the task successfully completed. IfFAILED, the task ended unsuccessfully. Preconditions use false.- Parameters:
taskStatus- IfFINISHED, the task successfully completed. IfFAILED, the task ended unsuccessfully. Preconditions use false.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TaskStatus,TaskStatus
-
taskStatus
SetTaskStatusRequest.Builder taskStatus(TaskStatus taskStatus)
If
FINISHED, the task successfully completed. IfFAILED, the task ended unsuccessfully. Preconditions use false.- Parameters:
taskStatus- IfFINISHED, the task successfully completed. IfFAILED, the task ended unsuccessfully. Preconditions use false.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TaskStatus,TaskStatus
-
errorId
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorStackTrace
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
SetTaskStatusRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
SetTaskStatusRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-