public void setRuleSets(java.util.Collection<RuleSet> ruleSets) {
        if (ruleSets == null) {
            this.ruleSets = null;
            return;
        }

        this.ruleSets = new java.util.ArrayList<RuleSet>(ruleSets);
    }
<p>
The list of rule sets.
</p>

@param ruleSets
       The list of rule sets.
aws-java-sdk-mailmanager/src/main/java/com/amazonaws/services/mailmanager/model/ListRuleSetsResult.java