public GetBuiltinIntentResult withSlots(BuiltinIntentSlot... slots) {
        if (this.slots == null) {
            setSlots(new java.util.ArrayList<BuiltinIntentSlot>(slots.length));
        }
        for (BuiltinIntentSlot ele : slots) {
            this.slots.add(ele);
        }
        return this;
    }
<p>
An array of <code>BuiltinIntentSlot</code> objects, one entry for each slot type in the intent.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSlots(java.util.Collection)} or {@link #withSlots(java.util.Collection)} if you want to override the
existing values.
</p>

@param slots
       An array of <code>BuiltinIntentSlot</code> objects, one entry for each slot type in the intent.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lexmodelbuilding/src/main/java/com/amazonaws/services/lexmodelbuilding/model/GetBuiltinIntentResult.java