public StatementData withQueryStrings(String... queryStrings) {
        if (this.queryStrings == null) {
            setQueryStrings(new java.util.ArrayList<String>(queryStrings.length));
        }
        for (String ele : queryStrings) {
            this.queryStrings.add(ele);
        }
        return this;
    }
<p>
One or more SQL statements. Each query string in the array corresponds to one of the queries in a batch query
request.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setQueryStrings(java.util.Collection)} or {@link #withQueryStrings(java.util.Collection)} if you want to
override the existing values.
</p>

@param queryStrings
       One or more SQL statements. Each query string in the array corresponds to one of the queries in a batch
       query request.
@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