public UpdateWebACLRequest withDefaultAction(WafAction defaultAction) {
        setDefaultAction(defaultAction);
        return this;
    }
<p>
A default action for the web ACL, either ALLOW or BLOCK. AWS WAF performs the default action if a request doesn't
match the criteria in any of the rules in a web ACL.
</p>

@param defaultAction
       A default action for the web ACL, either ALLOW or BLOCK. AWS WAF performs the default action if a request
       doesn't match the criteria in any of the rules in a web ACL.
@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/UpdateWebACLRequest.java