public void setFieldToMatch(FieldToMatch fieldToMatch) {
        this.fieldToMatch = fieldToMatch;
    }
<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.
aws-java-sdk-wafv2/src/main/java/com/amazonaws/services/wafv2/model/RegexMatchStatement.java