public void setRuleGroups(java.util.Collection<RuleGroupSummary> ruleGroups) {
        if (ruleGroups == null) {
            this.ruleGroups = null;
            return;
        }

        this.ruleGroups = new java.util.ArrayList<RuleGroupSummary>(ruleGroups);
    }
<p>
An array of <a>RuleGroup</a> objects.
</p>

@param ruleGroups
       An array of <a>RuleGroup</a> objects.
aws-java-sdk-waf/src/main/java/com/amazonaws/services/waf/model/ListRuleGroupsResult.java