public String getSlotConstraint() {
        return this.slotConstraint;
    }
<p>
Whether the slot is required or optional. An intent is complete when all required slots are filled.
</p>

@return Whether the slot is required or optional. An intent is complete when all required slots are filled.
@see SlotConstraint
aws-java-sdk-lexmodelsv2/src/main/java/com/amazonaws/services/lexmodelsv2/model/SlotSummary.java