public ListQueuesRequest withQueueTypes(QueueType... queueTypes) {
        java.util.ArrayList<String> queueTypesCopy = new java.util.ArrayList<String>(queueTypes.length);
        for (QueueType value : queueTypes) {
            queueTypesCopy.add(value.toString());
        }
        if (getQueueTypes() == null) {
            setQueueTypes(queueTypesCopy);
        } else {
            getQueueTypes().addAll(queueTypesCopy);
        }
        return this;
    }
<p>
The type of queue.
</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