public void setSubSlots(java.util.Collection<SubSlotTypeComposition> subSlots) {
        if (subSlots == null) {
            this.subSlots = null;
            return;
        }

        this.subSlots = new java.util.ArrayList<SubSlotTypeComposition>(subSlots);
    }
<p>
Subslots in the composite slot.
</p>

@param subSlots
       Subslots in the composite slot.
aws-java-sdk-lexmodelsv2/src/main/java/com/amazonaws/services/lexmodelsv2/model/CompositeSlotTypeSetting.java