public PagedList<NodeAgentSku> listNodeAgentSkusNext(final String nextPageLink, final AccountListNodeAgentSkusNextOptions accountListNodeAgentSkusNextOptions) {
        ServiceResponseWithHeaders<Page<NodeAgentSku>, AccountListNodeAgentSkusHeaders> response = listNodeAgentSkusNextSinglePageAsync(nextPageLink, accountListNodeAgentSkusNextOptions).toBlocking().single();
        return new PagedList<NodeAgentSku>(response.body()) {
            @Override
            public Page<NodeAgentSku> nextPage(String nextPageLink) {
                return listNodeAgentSkusNextSinglePageAsync(nextPageLink, accountListNodeAgentSkusNextOptions).toBlocking().single().body();
            }
        };
    }
public PagedList < NodeAgentSku > listNodeAgentSkusNext ( final String nextPageLink , final AccountListNodeAgentSkusNextOptions accountListNodeAgentSkusNextOptions ) { ServiceResponseWithHeaders < Page < NodeAgentSku > , AccountListNodeAgentSkusHeaders > response = listNodeAgentSkusNextSinglePageAsync ( nextPageLink , accountListNodeAgentSkusNextOptions ) . toBlocking ( ) . single ( ) ; return new PagedList < NodeAgentSku > ( response . body ( ) ) { @ Override public Page < NodeAgentSku > nextPage ( String nextPageLink ) { return listNodeAgentSkusNextSinglePageAsync ( nextPageLink , accountListNodeAgentSkusNextOptions ) . toBlocking ( ) . single ( ) . body ( ) ; } } ; }
Lists all node agent SKUs supported by the Azure Batch service.

@param nextPageLink The NextLink from the previous successful call to List operation.
@param accountListNodeAgentSkusNextOptions 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.