public AttributeFilter withAndAllFilters(AttributeFilter... andAllFilters) {
        if (this.andAllFilters == null) {
            setAndAllFilters(new java.util.ArrayList<AttributeFilter>(andAllFilters.length));
        }
        for (AttributeFilter ele : andAllFilters) {
            this.andAllFilters.add(ele);
        }
        return this;
    }
<p>
Performs a logical <code>AND</code> operation on all filters that you specify.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAndAllFilters(java.util.Collection)} or {@link #withAndAllFilters(java.util.Collection)} if you want
to override the existing values.
</p>

@param andAllFilters
       Performs a logical <code>AND</code> operation on all filters that you specify.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-kendra/src/main/java/com/amazonaws/services/kendra/model/AttributeFilter.java