public void setSlotTypes(java.util.Collection<BuiltinSlotTypeMetadata> slotTypes) {
        if (slotTypes == null) {
            this.slotTypes = null;
            return;
        }

        this.slotTypes = new java.util.ArrayList<BuiltinSlotTypeMetadata>(slotTypes);
    }
<p>
An array of <code>BuiltInSlotTypeMetadata</code> objects, one entry for each slot type returned.
</p>

@param slotTypes
       An array of <code>BuiltInSlotTypeMetadata</code> objects, one entry for each slot type returned.
aws-java-sdk-lexmodelbuilding/src/main/java/com/amazonaws/services/lexmodelbuilding/model/GetBuiltinSlotTypesResult.java