public StatementData withQueryParameters(SqlParameter... queryParameters) {
        if (this.queryParameters == null) {
            setQueryParameters(new java.util.ArrayList<SqlParameter>(queryParameters.length));
        }
        for (SqlParameter ele : queryParameters) {
            this.queryParameters.add(ele);
        }
        return this;
    }
<p>
The parameters used in a SQL statement.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setQueryParameters(java.util.Collection)} or {@link #withQueryParameters(java.util.Collection)} if you
want to override the existing values.
</p>

@param queryParameters
       The parameters used in a SQL statement.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-redshiftdataapi/src/main/java/com/amazonaws/services/redshiftdataapi/model/StatementData.java