org.linkedin.util-core/src/main/java/org/linkedin/util/url/URLBuilder.java
public URLBuilder addQueryParameter(String name, String value)
  {
    if(value == null)
      throw new IllegalArgumentException("value is null for " + name);

    _query.addParameter(name, value);
    return this;
  }
public URLBuilder addQueryParameter(String name, String value)
  {
    if(value == null)
      throw new IllegalArgumentException("value is null for " + name);

    _query.addParameter(name, value);
    return this;
  }
Adds the query parameter

@param name
@param value
@return this object for chaining