public String getRegex() {
        return this.regex;
    }
<p>
The regular expression (<i>regex</i>) that defines the pattern to match.
</p>

@return The regular expression (<i>regex</i>) that defines the pattern to match.
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/GetCustomDataIdentifierResult.java