public ListQueuesResult withQueues(java.util.Collection<QueueSummary> queues) {
        setQueues(queues);
        return this;
    }
<p>
The queues on the list.
</p>

@param queues
       The queues on the list.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-deadline/src/main/java/com/amazonaws/services/deadline/model/ListQueuesResult.java