public FindingFilter withAttributes(Attribute... attributes) {
        if (this.attributes == null) {
            setAttributes(new java.util.ArrayList<Attribute>(attributes.length));
        }
        for (Attribute ele : attributes) {
            this.attributes.add(ele);
        }
        return this;
    }
<p>
For a record to match a filter, the list of values that are specified for this data type property must be
contained in the list of values of the <b>attributes</b> property of the <a>Finding</a> data type.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAttributes(java.util.Collection)} or {@link #withAttributes(java.util.Collection)} if you want to
override the existing values.
</p>

@param attributes
       For a record to match a filter, the list of values that are specified for this data type property must be
       contained in the list of values of the <b>attributes</b> property of the <a>Finding</a> data type.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-inspector/src/main/java/com/amazonaws/services/inspector/model/FindingFilter.java