public FilterV2 withFilterValues(String... filterValues) {
        if (this.filterValues == null) {
            setFilterValues(new java.util.ArrayList<String>(filterValues.length));
        }
        for (String ele : filterValues) {
            this.filterValues.add(ele);
        }
        return this;
    }
<p>
The identifiers to use for filtering data. For example, if you have a filter key of <code>QUEUE</code>, you would
add queue IDs or ARNs in <code>FilterValues</code>.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setFilterValues(java.util.Collection)} or {@link #withFilterValues(java.util.Collection)} if you want to
override the existing values.
</p>

@param filterValues
       The identifiers to use for filtering data. For example, if you have a filter key of <code>QUEUE</code>,
       you would add queue IDs or ARNs in <code>FilterValues</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/FilterV2.java