public Contact withQueueInfo(QueueInfo queueInfo) {
        setQueueInfo(queueInfo);
        return this;
    }
<p>
If this contact was queued, this contains information about the queue.
</p>

@param queueInfo
       If this contact was queued, this contains information about the queue.
@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/Contact.java