public ListRegexPatternSetsResult withRegexPatternSets(RegexPatternSetSummary... regexPatternSets) {
        if (this.regexPatternSets == null) {
            setRegexPatternSets(new java.util.ArrayList<RegexPatternSetSummary>(regexPatternSets.length));
        }
        for (RegexPatternSetSummary ele : regexPatternSets) {
            this.regexPatternSets.add(ele);
        }
        return this;
    }
<p>
An array of <a>RegexPatternSetSummary</a> objects.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setRegexPatternSets(java.util.Collection)} or {@link #withRegexPatternSets(java.util.Collection)} if you
want to override the existing values.
</p>

@param regexPatternSets
       An array of <a>RegexPatternSetSummary</a> objects.
@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/ListRegexPatternSetsResult.java