code: public String getNextPageUrl(String domain, String region) {
          if (nextPageUrl != null) {
              return nextPageUrl;
          }
  
          return urlFromUri(domain, region, nextPageUri);
      }
docs: Generate next page url for a list result.
  
  @param domain domain to use
  @param region region to use
  @return the next page url