code: public PagedList<CloudTask> listTasks(String jobId, DetailLevel detailLevel,
              Iterable<BatchClientBehavior> additionalBehaviors) throws BatchErrorException, IOException {
          TaskListOptions options = new TaskListOptions();
          BehaviorManager bhMgr = new BehaviorManager(this.customBehaviors(), additionalBehaviors);
          bhMgr.appendDetailLevelToPerCallBehaviors(detailLevel);
          bhMgr.applyRequestBehaviors(options);
  
          return this.parentBatchClient.protocolLayer().tasks().list(jobId, options);
      }
docs: Lists the {@link CloudTask tasks} of the specified job.
  
  @param jobId
  The ID of the job.
  @param detailLevel
  A {@link DetailLevel} used for filtering the list and for
  controlling which properties are retrieved from the service.
  @param additionalBehaviors
  A collection of {@link BatchClientBehavior} instances that are
  applied to the Batch service request.
  @return A list of {@link CloudTask} objects.
  @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.