public GetBuiltinSlotTypesResult withSlotTypes(java.util.Collection<BuiltinSlotTypeMetadata> slotTypes) {
        setSlotTypes(slotTypes);
        return this;
    }
<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.
@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/GetBuiltinSlotTypesResult.java