public void setFunction(String function) {
        this.function = function;
    }
<p>
The conditions of the rule.
</p>

@param function
       The conditions of the rule.
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/CreateRuleRequest.java