code: public PagedList<Certificate> list(final CertificateListOptions certificateListOptions) {
          ServiceResponseWithHeaders<Page<Certificate>, CertificateListHeaders> response = listSinglePageAsync(certificateListOptions).toBlocking().single();
          return new PagedList<Certificate>(response.body()) {
              @Override
              public Page<Certificate> nextPage(String nextPageLink) {
                  CertificateListNextOptions certificateListNextOptions = null;
                  if (certificateListOptions != null) {
                      certificateListNextOptions = new CertificateListNextOptions();
                      certificateListNextOptions.withClientRequestId(certificateListOptions.clientRequestId());
                      certificateListNextOptions.withReturnClientRequestId(certificateListOptions.returnClientRequestId());
                      certificateListNextOptions.withOcpDate(certificateListOptions.ocpDate());
                  }
                  return listNextSinglePageAsync(nextPageLink, certificateListNextOptions).toBlocking().single().body();
              }
          };
      }
docs: Lists all of the certificates that have been added to the specified account.
  
  @param certificateListOptions Additional parameters for the operation
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws BatchErrorException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the PagedList&lt;Certificate&gt; object if successful.