code: public PagedList<SecretItem> getSecretVersions(final String vaultBaseUrl, final String secretName, final Integer maxresults) {
          ServiceResponse<Page<SecretItem>> response = getSecretVersionsSinglePageAsync(vaultBaseUrl, secretName, maxresults).toBlocking().single();
          return new PagedList<SecretItem>(response.body()) {
              @Override
              public Page<SecretItem> nextPage(String nextPageLink) {
                  return getSecretVersionsNextSinglePageAsync(nextPageLink).toBlocking().single().body();
              }
          };
      }
docs: List all versions of the specified secret.
  The full secret identifier and attributes are provided in the response. No values are returned for the secrets. This operations requires the secrets/list permission.
  
  @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
  @param secretName The name of the secret.
  @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results.
  @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;SecretItem&gt; object if successful.