public AwsWafRegionalRuleGroupRulesDetails withPriority(Integer priority) {
        setPriority(priority);
        return this;
    }
<p>
If you define more than one rule in a web ACL, WAF evaluates each request against the rules in order based on the
value of <code>Priority</code>.
</p>

@param priority
       If you define more than one rule in a web ACL, WAF evaluates each request against the rules in order based
       on the value of <code>Priority</code>.
@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/AwsWafRegionalRuleGroupRulesDetails.java