public UserDataFilters withQueues(String... queues) {
        if (this.queues == null) {
            setQueues(new java.util.ArrayList<String>(queues.length));
        }
        for (String ele : queues) {
            this.queues.add(ele);
        }
        return this;
    }
<p>
A list of up to 100 queues or ARNs.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setQueues(java.util.Collection)} or {@link #withQueues(java.util.Collection)} if you want to override the
existing values.
</p>

@param queues
       A list of up to 100 queues or ARNs.
@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/UserDataFilters.java