Interface CancelJobsErrorDetail.Builder

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

@Mutable @NotThreadSafe public static interface CancelJobsErrorDetail.Builder extends SdkPojo, CopyableBuilder<CancelJobsErrorDetail.Builder,CancelJobsErrorDetail>
  • Method Details

    • job

      The Batch job ID of the job that couldn't be cancelled.

      Parameters:
      job - The Batch job ID of the job that couldn't be cancelled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • code

      An error code that identifies the reason the job couldn't be cancelled. Valid values are:

      • ValidationException – A job identifier in the request is malformed or isn't valid.

      • ClientException – The request failed because of a client error.

      • ThrottlingException – The request was throttled. Retry the request.

      • ServerException – An internal error occurred. Retry the request.

      • AccessDenied – The caller isn't authorized to perform the action on the specified job.

      Parameters:
      code - An error code that identifies the reason the job couldn't be cancelled. Valid values are:

      • ValidationException – A job identifier in the request is malformed or isn't valid.

      • ClientException – The request failed because of a client error.

      • ThrottlingException – The request was throttled. Retry the request.

      • ServerException – An internal error occurred. Retry the request.

      • AccessDenied – The caller isn't authorized to perform the action on the specified job.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • message

      A message that describes the reason the job couldn't be cancelled.

      Parameters:
      message - A message that describes the reason the job couldn't be cancelled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.