code: public void patchJob(String jobId, PoolInformation poolInfo, Integer priority, JobConstraints constraints, OnAllTasksComplete onAllTasksComplete,
                           List<MetadataItem> metadata) throws BatchErrorException, IOException {
          patchJob(jobId, poolInfo, priority, constraints, onAllTasksComplete, metadata, null);
      }
docs: Updates the specified job.
  This method only replaces the properties specified with non-null values.
  
  @param jobId The ID of the job.
  @param poolInfo The pool on which the Batch service runs the job's tasks. You may change the pool for a job only when the job is disabled. If you specify an autoPoolSpecification specification in the poolInfo, only the keepAlive property can be updated, and then only if the auto pool has a poolLifetimeOption of job. If null, the job continues to run on its current pool.
  @param priority The priority of the job. Priority values can range from -1000 to 1000, with -1000 being the lowest priority and 1000 being the highest priority. If null, the priority of the job is left unchanged.
  @param constraints The execution constraints for the job. If null, the existing execution constraints are left unchanged.
  @param onAllTasksComplete Specifies an action the Batch service should take when all tasks in the job are in the completed state.
  @param metadata A list of name-value pairs associated with the job as metadata. If null, the existing job metadata is left unchanged.
  @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.