Interface BatchStopJobRunError.Builder

All Superinterfaces:
Buildable, CopyableBuilder<BatchStopJobRunError.Builder,BatchStopJobRunError>, SdkBuilder<BatchStopJobRunError.Builder,BatchStopJobRunError>, SdkPojo
Enclosing class:
BatchStopJobRunError

public static interface BatchStopJobRunError.Builder extends SdkPojo, CopyableBuilder<BatchStopJobRunError.Builder,BatchStopJobRunError>
  • Method Details

    • jobName

      The name of the job definition that is used in the job run in question.

      Parameters:
      jobName - The name of the job definition that is used in the job run in question.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobRunId

      The JobRunId of the job run in question.

      Parameters:
      jobRunId - The JobRunId of the job run in question.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorDetail

      BatchStopJobRunError.Builder errorDetail(ErrorDetail errorDetail)

      Specifies details about the error that was encountered.

      Parameters:
      errorDetail - Specifies details about the error that was encountered.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorDetail

      default BatchStopJobRunError.Builder errorDetail(Consumer<ErrorDetail.Builder> errorDetail)

      Specifies details about the error that was encountered.

      This is a convenience method that creates an instance of the ErrorDetail.Builder avoiding the need to create one manually via ErrorDetail.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to errorDetail(ErrorDetail).

      Parameters:
      errorDetail - a consumer that will call methods on ErrorDetail.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: