code: public void disable(String jobId, DisableJobOption disableTasks, JobDisableOptions jobDisableOptions) {
          disableWithServiceResponseAsync(jobId, disableTasks, jobDisableOptions).toBlocking().single().body();
      }
docs: Disables the specified job, preventing new tasks from running.
  The Batch Service immediately moves the job to the disabling state. Batch then uses the disableTasks parameter to determine what to do with the currently running tasks of the job. The job remains in the disabling state until the disable operation is completed and all tasks have been dealt with according to the disableTasks option; the job then moves to the disabled state. No new tasks are started under the job until it moves back to active state. If you try to disable a job that is in any state other than active, disabling, or disabled, the request fails with status code 409.
  
  @param jobId The ID of the job to disable.
  @param disableTasks What to do with active tasks associated with the job. Possible values include: 'requeue', 'terminate', 'wait'
  @param jobDisableOptions 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