public DescribeRuleResult withRule(Rule rule) {
        setRule(rule);
        return this;
    }
<p>
Information about the rule.
</p>

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