public ServiceFuture<Void> disableAsync(String jobId, DisableJobOption disableTasks, final ServiceCallback<Void> serviceCallback) {
        return ServiceFuture.fromHeaderResponse(disableWithServiceResponseAsync(jobId, disableTasks), serviceCallback);
    }
public ServiceFuture < Void > disableAsync ( String jobId , DisableJobOption disableTasks , final ServiceCallback < Void > serviceCallback ) { return ServiceFuture . fromHeaderResponse ( disableWithServiceResponseAsync ( jobId , disableTasks ) , serviceCallback ) ; }
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 serviceCallback the async ServiceCallback to handle successful and failed responses.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the {@link ServiceFuture} object