public ListStatementsResult withStatements(StatementData... statements) {
        if (this.statements == null) {
            setStatements(new java.util.ArrayList<StatementData>(statements.length));
        }
        for (StatementData ele : statements) {
            this.statements.add(ele);
        }
        return this;
    }
<p>
The SQL statements.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setStatements(java.util.Collection)} or {@link #withStatements(java.util.Collection)} if you want to
override the existing values.
</p>

@param statements
       The SQL statements.
@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/ListStatementsResult.java