public void setSource(GrammarSlotTypeSource source) {
        this.source = source;
    }
<p>
The source of the grammar used to create the slot type.
</p>

@param source
       The source of the grammar used to create the slot type.
aws-java-sdk-lexmodelsv2/src/main/java/com/amazonaws/services/lexmodelsv2/model/GrammarSlotTypeSetting.java