public SetRulePrioritiesResult withRules(java.util.Collection<Rule> rules) {
        setRules(rules);
        return this;
    }
<p>
Information about the rules.
</p>

@param rules
       Information about the rules.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticloadbalancingv2/src/main/java/com/amazonaws/services/elasticloadbalancingv2/model/SetRulePrioritiesResult.java