public FieldTypeDetails withValueRegexPattern(String valueRegexPattern) {
        setValueRegexPattern(valueRegexPattern);
        return this;
    }
<p>
The regular expression pattern for the field name.
</p>

@param valueRegexPattern
       The regular expression pattern for the field name.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-appflow/src/main/java/com/amazonaws/services/appflow/model/FieldTypeDetails.java