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 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

      SetTaskStatusRequest.Builder taskStatus(String taskStatus)

      If FINISHED, the task successfully completed. If FAILED, the task ended unsuccessfully. Preconditions use false.

      Parameters:
      taskStatus - If FINISHED, the task successfully completed. If FAILED, 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

      SetTaskStatusRequest.Builder taskStatus(TaskStatus taskStatus)

      If FINISHED, the task successfully completed. If FAILED, the task ended unsuccessfully. Preconditions use false.

      Parameters:
      taskStatus - If FINISHED, the task successfully completed. If FAILED, 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

      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)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.