public ListRuleSetsResult withRuleSets(java.util.Collection<RuleSet> ruleSets) {
        setRuleSets(ruleSets);
        return this;
    }
<p>
The list of rule sets.
</p>

@param ruleSets
       The list of rule sets.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mailmanager/src/main/java/com/amazonaws/services/mailmanager/model/ListRuleSetsResult.java