public PagedList<CloudPool> listNext(final String nextPageLink, final PoolListNextOptions poolListNextOptions) {
        ServiceResponseWithHeaders<Page<CloudPool>, PoolListHeaders> response = listNextSinglePageAsync(nextPageLink, poolListNextOptions).toBlocking().single();
        return new PagedList<CloudPool>(response.body()) {
            @Override
            public Page<CloudPool> nextPage(String nextPageLink) {
                return listNextSinglePageAsync(nextPageLink, poolListNextOptions).toBlocking().single().body();
            }
        };
    }
public PagedList < CloudPool > listNext ( final String nextPageLink , final PoolListNextOptions poolListNextOptions ) { ServiceResponseWithHeaders < Page < CloudPool > , PoolListHeaders > response = listNextSinglePageAsync ( nextPageLink , poolListNextOptions ) . toBlocking ( ) . single ( ) ; return new PagedList < CloudPool > ( response . body ( ) ) { @ Override public Page < CloudPool > nextPage ( String nextPageLink ) { return listNextSinglePageAsync ( nextPageLink , poolListNextOptions ) . toBlocking ( ) . single ( ) . body ( ) ; } } ; }
Lists all of the pools in the specified account.

@param nextPageLink The NextLink from the previous successful call to List operation.
@param poolListNextOptions 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;CloudPool&gt; object if successful.