public WebACL withDefaultAction(WafAction defaultAction) {
        setDefaultAction(defaultAction);
        return this;
    }
<p>
The action to perform if none of the <code>Rules</code> contained in the <code>WebACL</code> match. The action is
specified by the <a>WafAction</a> object.
</p>

@param defaultAction
       The action to perform if none of the <code>Rules</code> contained in the <code>WebACL</code> match. The
       action is specified by the <a>WafAction</a> object.
@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/WebACL.java