code: public static UriBuilder fromUri(String uri) {
          if (uri == null)
              throw new IllegalArgumentException("Uri cannot be null");
  
          final UriBuilder builder = newInstance();
          builder.uri(Uri.create(uri));
          return builder;
      }
docs: Create a new instance initialized from an existing URI.
  
  @param uri a URI that will be used to initialize the UriBuilder, URI template parameters are ignored.
  
  @return a new UriBuilder
  
  @throws IllegalArgumentException if uri is null