code: public PagedList<CertificateItem> getCertificateVersionsNext(final String nextPageLink) {
          ServiceResponse<Page<CertificateItem>> response = getCertificateVersionsNextSinglePageAsync(nextPageLink).toBlocking().single();
          return new PagedList<CertificateItem>(response.body()) {
              @Override
              public Page<CertificateItem> nextPage(String nextPageLink) {
                  return getCertificateVersionsNextSinglePageAsync(nextPageLink).toBlocking().single().body();
              }
          };
      }
docs: List the versions of a certificate.
  The GetCertificateVersions operation returns the versions of a certificate in the specified key vault. This operation requires the certificates/list permission.
  
  @param nextPageLink The NextLink from the previous successful call to List operation.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws KeyVaultErrorException 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;CertificateItem&gt; object if successful.