code: public PagedList<NodeAgentSku> listNodeAgentSkus(final AccountListNodeAgentSkusOptions accountListNodeAgentSkusOptions) {
          ServiceResponseWithHeaders<Page<NodeAgentSku>, AccountListNodeAgentSkusHeaders> response = listNodeAgentSkusSinglePageAsync(accountListNodeAgentSkusOptions).toBlocking().single();
          return new PagedList<NodeAgentSku>(response.body()) {
              @Override
              public Page<NodeAgentSku> nextPage(String nextPageLink) {
                  AccountListNodeAgentSkusNextOptions accountListNodeAgentSkusNextOptions = null;
                  if (accountListNodeAgentSkusOptions != null) {
                      accountListNodeAgentSkusNextOptions = new AccountListNodeAgentSkusNextOptions();
                      accountListNodeAgentSkusNextOptions.withClientRequestId(accountListNodeAgentSkusOptions.clientRequestId());
                      accountListNodeAgentSkusNextOptions.withReturnClientRequestId(accountListNodeAgentSkusOptions.returnClientRequestId());
                      accountListNodeAgentSkusNextOptions.withOcpDate(accountListNodeAgentSkusOptions.ocpDate());
                  }
                  return listNodeAgentSkusNextSinglePageAsync(nextPageLink, accountListNodeAgentSkusNextOptions).toBlocking().single().body();
              }
          };
      }
docs: Lists all node agent SKUs supported by the Azure Batch service.
  
  @param accountListNodeAgentSkusOptions 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;NodeAgentSku&gt; object if successful.