Interface SetTaskStatusRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SetTaskStatusRequest.Builder,,SetTaskStatusRequest> DataPipelineRequest.Builder,SdkBuilder<SetTaskStatusRequest.Builder,,SetTaskStatusRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
SetTaskStatusRequest
-
Method Summary
Modifier and TypeMethodDescriptionIf an error occurred during the task, this value specifies the error code.errorMessage(String errorMessage) If an error occurred during the task, this value specifies a text description of the error.errorStackTrace(String errorStackTrace) If an error occurred during the task, this value specifies the stack trace associated with the error.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The ID of the task assigned to the task runner.taskStatus(String taskStatus) IfFINISHED, the task successfully completed.taskStatus(TaskStatus taskStatus) IfFINISHED, the task successfully completed.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.datapipeline.model.DataPipelineRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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:
-
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
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
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) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
SetTaskStatusRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-