public UpdateRoutingProfileQueuesRequest withQueueConfigs(RoutingProfileQueueConfig... queueConfigs) {
        if (this.queueConfigs == null) {
            setQueueConfigs(new java.util.ArrayList<RoutingProfileQueueConfig>(queueConfigs.length));
        }
        for (RoutingProfileQueueConfig ele : queueConfigs) {
            this.queueConfigs.add(ele);
        }
        return this;
    }
<p>
The queues to be updated for this routing profile. Queues must first be associated to the routing profile. You
can do this using AssociateRoutingProfileQueues.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setQueueConfigs(java.util.Collection)} or {@link #withQueueConfigs(java.util.Collection)} if you want to
override the existing values.
</p>

@param queueConfigs
       The queues to be updated for this routing profile. Queues must first be associated to the routing profile.
       You can do this using AssociateRoutingProfileQueues.
@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/UpdateRoutingProfileQueuesRequest.java