public void setSlots(java.util.Collection<BuiltinIntentSlot> slots) {
        if (slots == null) {
            this.slots = null;
            return;
        }

        this.slots = new java.util.ArrayList<BuiltinIntentSlot>(slots);
    }
public void setSlots ( java . util . Collection < BuiltinIntentSlot > slots ) { if ( slots == null ) { this . slots = null ; return ; } this . slots = new java . util . ArrayList < BuiltinIntentSlot > ( slots ) ; }
<p>
An array of <code>BuiltinIntentSlot</code> objects, one entry for each slot type in the intent.
</p>

@param slots
An array of <code>BuiltinIntentSlot</code> objects, one entry for each slot type in the intent.