public ListQueuesRequest withQueueTypes(String... queueTypes) {
        if (this.queueTypes == null) {
            setQueueTypes(new java.util.ArrayList<String>(queueTypes.length));
        }
        for (String ele : queueTypes) {
            this.queueTypes.add(ele);
        }
        return this;
    }
<p>
The type of queue.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setQueueTypes(java.util.Collection)} or {@link #withQueueTypes(java.util.Collection)} if you want to
override the existing values.
</p>

@param queueTypes
       The type of queue.
@return Returns a reference to this object so that method calls can be chained together.
@see QueueType
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/ListQueuesRequest.java