public void setType(String type) {
        this.type = type;
    }
<p>
Specifies how you want AWS WAF to respond to requests that match the settings in a <code>Rule</code>. Valid
settings include the following:
</p>
<ul>
<li>
<p>
<code>ALLOW</code>: AWS WAF allows requests
</p>
</li>
<li>
<p>
<code>BLOCK</code>: AWS WAF blocks requests
</p>
</li>
<li>
<p>
<code>COUNT</code>: AWS WAF increments a counter of the requests that match all of the conditions in the rule.
AWS WAF then continues to inspect the web request based on the remaining rules in the web ACL. You can't specify
<code>COUNT</code> for the default action for a <code>WebACL</code>.
</p>
</li>
</ul>

@param type
       Specifies how you want AWS WAF to respond to requests that match the settings in a <code>Rule</code>.
       Valid settings include the following:</p>
       <ul>
       <li>
       <p>
       <code>ALLOW</code>: AWS WAF allows requests
       </p>
       </li>
       <li>
       <p>
       <code>BLOCK</code>: AWS WAF blocks requests
       </p>
       </li>
       <li>
       <p>
       <code>COUNT</code>: AWS WAF increments a counter of the requests that match all of the conditions in the
       rule. AWS WAF then continues to inspect the web request based on the remaining rules in the web ACL. You
       can't specify <code>COUNT</code> for the default action for a <code>WebACL</code>.
       </p>
       </li>
@see WafActionType
aws-java-sdk-waf/src/main/java/com/amazonaws/services/waf/model/WafAction.java