code: public static PgConnectOptions fromUri(String connectionUri) throws IllegalArgumentException {
      JsonObject parsedConfiguration = PgConnectionUriParser.parse(connectionUri);
      return new PgConnectOptions(parsedConfiguration);
    }
docs: Provide a {@link PgConnectOptions} configured from a connection URI.
  
  @param connectionUri the connection URI to configure from
  @return a {@link PgConnectOptions} parsed from the connection URI
  @throws IllegalArgumentException when the {@code connectionUri} is in an invalid format