public void disableJobSchedule ( String jobScheduleId , Iterable < BatchClientBehavior > additionalBehaviors ) throws BatchErrorException , IOException { JobScheduleDisableOptions options = new JobScheduleDisableOptions ( ) ; BehaviorManager bhMgr = new BehaviorManager ( this . customBehaviors ( ) , additionalBehaviors ) ; bhMgr . applyRequestBehaviors ( options ) ; this . parentBatchClient . protocolLayer ( ) . jobSchedules ( ) . disable ( jobScheduleId , options ) ; }
Disables the specified job schedule . Disabled schedules do not create new jobs but may be re - enabled later .