public void setRule(Rule rule) {
        this.rule = rule;
    }
<p>
Information about the rule.
</p>

@param rule
       Information about the rule.
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/DescribeRuleResult.java