public ColumnSelector withRegex(String regex) {
        setRegex(regex);
        return this;
    }
<p>
A regular expression for selecting a column from a dataset.
</p>

@param regex
       A regular expression for selecting a column from a dataset.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-gluedatabrew/src/main/java/com/amazonaws/services/gluedatabrew/model/ColumnSelector.java