public void disableJob(String jobId, DisableJobOption disableJobOption, Iterable<BatchClientBehavior> additionalBehaviors) throws BatchErrorException, IOException {
        JobDisableOptions options = new JobDisableOptions();
        BehaviorManager bhMgr = new BehaviorManager(this.customBehaviors(), additionalBehaviors);
        bhMgr.applyRequestBehaviors(options);

        this.parentBatchClient.protocolLayer().jobs().disable(jobId, disableJobOption, options);
    }
public void disableJob ( String jobId , DisableJobOption disableJobOption , Iterable < BatchClientBehavior > additionalBehaviors ) throws BatchErrorException , IOException { JobDisableOptions options = new JobDisableOptions ( ) ; BehaviorManager bhMgr = new BehaviorManager ( this . customBehaviors ( ) , additionalBehaviors ) ; bhMgr . applyRequestBehaviors ( options ) ; this . parentBatchClient . protocolLayer ( ) . jobs ( ) . disable ( jobId , disableJobOption , options ) ; }
Disables the specified job. Disabled jobs do not run new tasks, but may be re-enabled later.

@param jobId The ID of the job.
@param disableJobOption Specifies what to do with running tasks associated with the job.
@param additionalBehaviors A collection of {@link BatchClientBehavior} instances that are applied to the Batch service request.
@throws BatchErrorException Exception thrown when an error response is received from the Batch service.
@throws IOException Exception thrown when there is an error in serialization/deserialization of data sent to/received from the Batch service.