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