public void setRule(Rule rule) {
        this.rule = rule;
    }
<p>
The new rule version that was created.
</p>

@param rule
       The new rule version that was created.
aws-java-sdk-frauddetector/src/main/java/com/amazonaws/services/frauddetector/model/UpdateRuleVersionResult.java