code: public PagedList<Certificate> listCertificates(DetailLevel detailLevel, Iterable<BatchClientBehavior> additionalBehaviors) throws BatchErrorException, IOException {
  
          CertificateListOptions certificateListOptions = new CertificateListOptions();
          BehaviorManager bhMgr = new BehaviorManager(this.customBehaviors(), additionalBehaviors);
          bhMgr.appendDetailLevelToPerCallBehaviors(detailLevel);
          bhMgr.applyRequestBehaviors(certificateListOptions);
  
          return this.parentBatchClient.protocolLayer().certificates().list(certificateListOptions);
      }
docs: Lists the {@link Certificate certificates} in the Batch account.
  
  @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 Certificate} 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.