public CompositeSlotTypeSetting withSubSlots(java.util.Collection<SubSlotTypeComposition> subSlots) {
        setSubSlots(subSlots);
        return this;
    }
<p>
Subslots in the composite slot.
</p>

@param subSlots
       Subslots in the composite slot.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lexmodelsv2/src/main/java/com/amazonaws/services/lexmodelsv2/model/CompositeSlotTypeSetting.java