public EventSourceMappingConfiguration withQueues(String... queues) {
        if (this.queues == null) {
            setQueues(new com.amazonaws.internal.SdkInternalList<String>(queues.length));
        }
        for (String ele : queues) {
            this.queues.add(ele);
        }
        return this;
    }
<p>
(Amazon MQ) The name of the Amazon MQ broker destination queue to consume.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setQueues(java.util.Collection)} or {@link #withQueues(java.util.Collection)} if you want to override the
existing values.
</p>

@param queues
       (Amazon MQ) The name of the Amazon MQ broker destination queue to consume.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lambda/src/main/java/com/amazonaws/services/lambda/model/EventSourceMappingConfiguration.java