public RegexPatternSet withRegexPatternStrings(String... regexPatternStrings) {
        if (this.regexPatternStrings == null) {
            setRegexPatternStrings(new java.util.ArrayList<String>(regexPatternStrings.length));
        }
        for (String ele : regexPatternStrings) {
            this.regexPatternStrings.add(ele);
        }
        return this;
    }
<p>
Specifies the regular expression (regex) patterns that you want AWS WAF to search for, such as
<code>B[a@]dB[o0]t</code>.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setRegexPatternStrings(java.util.Collection)} or {@link #withRegexPatternStrings(java.util.Collection)}
if you want to override the existing values.
</p>

@param regexPatternStrings
       Specifies the regular expression (regex) patterns that you want AWS WAF to search for, such as
       <code>B[a@]dB[o0]t</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-waf/src/main/java/com/amazonaws/services/waf/model/RegexPatternSet.java