Interface TerminateJobsErrorDetail.Builder

  • Method Details

    • job

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

      Parameters:
      job - The Batch job ID of the job that couldn't be terminated.
      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 terminated. 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 terminated. 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 terminated.

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