public ListRuleGroupsResult withRuleGroups(java.util.Collection<RuleGroupSummary> ruleGroups) {
        setRuleGroups(ruleGroups);
        return this;
    }
<p>
An array of <a>RuleGroup</a> objects.
</p>

@param ruleGroups
       An array of <a>RuleGroup</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/ListRuleGroupsResult.java