public AndStatement withStatements(Statement... statements) {
        if (this.statements == null) {
            setStatements(new java.util.ArrayList<Statement>(statements.length));
        }
        for (Statement ele : statements) {
            this.statements.add(ele);
        }
        return this;
    }
<p>
The statements to combine with AND logic. You can use any statements that can be nested.
</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 statements to combine with AND logic. You can use any statements that can be nested.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-wafv2/src/main/java/com/amazonaws/services/wafv2/model/AndStatement.java