public RegexMatchStatement withTextTransformations(TextTransformation... textTransformations) {
        if (this.textTransformations == null) {
            setTextTransformations(new java.util.ArrayList<TextTransformation>(textTransformations.length));
        }
        for (TextTransformation ele : textTransformations) {
            this.textTransformations.add(ele);
        }
        return this;
    }
<p>
Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to
bypass detection. Text transformations are used in rule match statements, to transform the
<code>FieldToMatch</code> request component before inspecting it, and they're used in rate-based rule statements,
to transform request components before using them as custom aggregation keys. If you specify one or more
transformations to apply, WAF performs all transformations on the specified content, starting from the lowest
priority setting, and then uses the transformed component contents.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setTextTransformations(java.util.Collection)} or {@link #withTextTransformations(java.util.Collection)}
if you want to override the existing values.
</p>

@param textTransformations
       Text transformations eliminate some of the unusual formatting that attackers use in web requests in an
       effort to bypass detection. Text transformations are used in rule match statements, to transform the
       <code>FieldToMatch</code> request component before inspecting it, and they're used in rate-based rule
       statements, to transform request components before using them as custom aggregation keys. If you specify
       one or more transformations to apply, WAF performs all transformations on the specified content, starting
       from the lowest priority setting, and then uses the transformed component contents.
@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