public StatelessRuleGroup withPriority(Integer priority) {
        setPriority(priority);
        return this;
    }
<p>
The priority of the rule group. Network Firewall evaluates the stateless rule groups in a firewall policy
starting from the lowest priority setting.
</p>

@param priority
       The priority of the rule group. Network Firewall evaluates the stateless rule groups in a firewall policy
       starting from the lowest priority setting.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-fms/src/main/java/com/amazonaws/services/fms/model/StatelessRuleGroup.java