public AssociateFirewallRuleGroupRequest withPriority(Integer priority) {
        setPriority(priority);
        return this;
    }
<p>
The setting that determines the processing order of the rule group among the rule groups that you associate with
the specified VPC. DNS Firewall filters VPC traffic starting from the rule group with the lowest numeric priority
setting.
</p>
<p>
You must specify a unique priority for each rule group that you associate with a single VPC. To make it easier to
insert rule groups later, leave space between the numbers, for example, use 101, 200, and so on. You can change
the priority setting for a rule group association after you create it.
</p>
<p>
The allowed values for <code>Priority</code> are between 100 and 9900.
</p>

@param priority
       The setting that determines the processing order of the rule group among the rule groups that you
       associate with the specified VPC. DNS Firewall filters VPC traffic starting from the rule group with the
       lowest numeric priority setting. </p>
       <p>
       You must specify a unique priority for each rule group that you associate with a single VPC. To make it
       easier to insert rule groups later, leave space between the numbers, for example, use 101, 200, and so on.
       You can change the priority setting for a rule group association after you create it.
       </p>
       <p>
       The allowed values for <code>Priority</code> are between 100 and 9900.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-route53resolver/src/main/java/com/amazonaws/services/route53resolver/model/AssociateFirewallRuleGroupRequest.java