public AwsWafWebAclRule withPriority(Integer priority) {
        setPriority(priority);
        return this;
    }
<p>
Specifies the order in which the rules in a web ACL are evaluated. Rules with a lower value for
<code>Priority</code> are evaluated before rules with a higher value. The value must be a unique integer. If you
add multiple rules to a web ACL, the values do not need to be consecutive.
</p>

@param priority
       Specifies the order in which the rules in a web ACL are evaluated. Rules with a lower value for
       <code>Priority</code> are evaluated before rules with a higher value. The value must be a unique integer.
       If you add multiple rules to a web ACL, the values do not need to be consecutive.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsWafWebAclRule.java