code: public ResourcePageImpl nextPage(ResultCapture<Object> extractor) {
          if (getNextToken() == null) {
              throw new NoSuchElementException("There is no next page");
          }
  
          ActionResult result = ActionUtils.perform(
                  context,
                  listActionModel,
                  request,
                  extractor,
                  getNextToken());
  
          return new ResourcePageImpl(
                  context,
                  listActionModel,
                  request,
                  result);
      }
docs: Makes a request to the service to retrieve the next page of resources
  in the collection.
  
  @param extractor an optional result extractor object
  @return the next page of results