public CreateCustomEntityTypeRequest withRegexString(String regexString) {
        setRegexString(regexString);
        return this;
    }
<p>
A regular expression string that is used for detecting sensitive data in a custom pattern.
</p>

@param regexString
       A regular expression string that is used for detecting sensitive data in a custom pattern.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/CreateCustomEntityTypeRequest.java