public SlotTypeConfiguration withRegexConfiguration(SlotTypeRegexConfiguration regexConfiguration) {
        setRegexConfiguration(regexConfiguration);
        return this;
    }
<p>
A regular expression used to validate the value of a slot.
</p>

@param regexConfiguration
       A regular expression used to validate the value of a slot.
@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/SlotTypeConfiguration.java