public void setOverrideAction(WafOverrideAction overrideAction) {
        this.overrideAction = overrideAction;
    }
<p>
Use the <code>OverrideAction</code> to test your <code>RuleGroup</code>.
</p>
<p>
Any rule in a <code>RuleGroup</code> can potentially block a request. If you set the <code>OverrideAction</code>
to <code>None</code>, the <code>RuleGroup</code> will block a request if any individual rule in the
<code>RuleGroup</code> matches the request and is configured to block that request. However if you first want to
test the <code>RuleGroup</code>, set the <code>OverrideAction</code> to <code>Count</code>. The
<code>RuleGroup</code> will then override any block action specified by individual rules contained within the
group. Instead of blocking matching requests, those requests will be counted. You can view a record of counted
requests using <a>GetSampledRequests</a>.
</p>
<p>
<code>ActivatedRule|OverrideAction</code> applies only when updating or adding a <code>RuleGroup</code> to a
<code>WebACL</code>. In this case you do not use <code>ActivatedRule|Action</code>. For all other update
requests, <code>ActivatedRule|Action</code> is used instead of <code>ActivatedRule|OverrideAction</code>.
</p>

@param overrideAction
       Use the <code>OverrideAction</code> to test your <code>RuleGroup</code>.</p>
       <p>
       Any rule in a <code>RuleGroup</code> can potentially block a request. If you set the
       <code>OverrideAction</code> to <code>None</code>, the <code>RuleGroup</code> will block a request if any
       individual rule in the <code>RuleGroup</code> matches the request and is configured to block that request.
       However if you first want to test the <code>RuleGroup</code>, set the <code>OverrideAction</code> to
       <code>Count</code>. The <code>RuleGroup</code> will then override any block action specified by individual
       rules contained within the group. Instead of blocking matching requests, those requests will be counted.
       You can view a record of counted requests using <a>GetSampledRequests</a>.
       </p>
       <p>
       <code>ActivatedRule|OverrideAction</code> applies only when updating or adding a <code>RuleGroup</code> to
       a <code>WebACL</code>. In this case you do not use <code>ActivatedRule|Action</code>. For all other update
       requests, <code>ActivatedRule|Action</code> is used instead of <code>ActivatedRule|OverrideAction</code>.
aws-java-sdk-waf/src/main/java/com/amazonaws/services/waf/model/ActivatedRule.java