public CreateWebACLRequest withDefaultAction(WafAction defaultAction) {
        setDefaultAction(defaultAction);
        return this;
    }
<p>
The action that you want AWS WAF to take when a request doesn't match the criteria specified in any of the
<code>Rule</code> objects that are associated with the <code>WebACL</code>.
</p>

@param defaultAction
       The action that you want AWS WAF to take when a request doesn't match the criteria specified in any of the
       <code>Rule</code> objects that are associated with the <code>WebACL</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-waf/src/main/java/com/amazonaws/services/waf/model/CreateWebACLRequest.java