public void setQueryParameters(List<Pair<String, String>> queryParameters) {
        if (queryParameters == null) {
            throw new IllegalArgumentException("queryParameters may not be null");
        }
        this.queryParameters = new ArrayList<Pair<String, String>>(queryParameters);
    }
public void setQueryParameters ( List < Pair < String , String > > queryParameters ) { if ( queryParameters == null ) { throw new IllegalArgumentException ( "queryParameters may not be null" ) ; } this . queryParameters = new ArrayList < Pair < String , String > > ( queryParameters ) ; }
@param queryParameters may not be null
@throws IllegalArgumentException if queryParameters is null