public RegexMatchStatement withFieldToMatch(FieldToMatch fieldToMatch) {
        setFieldToMatch(fieldToMatch);
        return this;
    }
<p>
The part of the web request that you want WAF to inspect.
</p>

@param fieldToMatch
       The part of the web request that you want WAF to inspect.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-wafv2/src/main/java/com/amazonaws/services/wafv2/model/RegexMatchStatement.java