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

        this.ruleGroups = new java.util.ArrayList<RuleGroupMetadata>(ruleGroups);
    }
<p>
The rule group metadata objects that you've defined. Depending on your setting for max results and the number of
rule groups, this might not be the full list.
</p>

@param ruleGroups
       The rule group metadata objects that you've defined. Depending on your setting for max results and the
       number of rule groups, this might not be the full list.
aws-java-sdk-networkfirewall/src/main/java/com/amazonaws/services/networkfirewall/model/ListRuleGroupsResult.java