code: public void delete(String jobId, JobDeleteOptions jobDeleteOptions) {
          deleteWithServiceResponseAsync(jobId, jobDeleteOptions).toBlocking().single().body();
      }
docs: Deletes a job.
  Deleting a job also deletes all tasks that are part of that job, and all job statistics. This also overrides the retention period for task data; that is, if the job contains tasks which are still retained on compute nodes, the Batch services deletes those tasks' working directories and all their contents.  When a Delete Job request is received, the Batch service sets the job to the deleting state. All update operations on a job that is in deleting state will fail with status code 409 (Conflict), with additional information indicating that the job is being deleted.
  
  @param jobId The ID of the job to delete.
  @param jobDeleteOptions Additional parameters for the operation
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws BatchErrorException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent