public FirewallPolicy withStatefulDefaultActions(String... statefulDefaultActions) {
        if (this.statefulDefaultActions == null) {
            setStatefulDefaultActions(new java.util.ArrayList<String>(statefulDefaultActions.length));
        }
        for (String ele : statefulDefaultActions) {
            this.statefulDefaultActions.add(ele);
        }
        return this;
    }
<p>
The default actions to take on a packet that doesn't match any stateful rules. The stateful default action is
optional, and is only valid when using the strict rule order.
</p>
<p>
Valid values of the stateful default action:
</p>
<ul>
<li>
<p>
aws:drop_strict
</p>
</li>
<li>
<p>
aws:drop_established
</p>
</li>
<li>
<p>
aws:alert_strict
</p>
</li>
<li>
<p>
aws:alert_established
</p>
</li>
</ul>
<p>
For more information, see <a href=
"https://docs.aws.amazon.com/network-firewall/latest/developerguide/suricata-rule-evaluation-order.html#suricata-strict-rule-evaluation-order.html"
>Strict evaluation order</a> in the <i>Network Firewall Developer Guide</i>.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setStatefulDefaultActions(java.util.Collection)} or
{@link #withStatefulDefaultActions(java.util.Collection)} if you want to override the existing values.
</p>

@param statefulDefaultActions
       The default actions to take on a packet that doesn't match any stateful rules. The stateful default action
       is optional, and is only valid when using the strict rule order.</p>
       <p>
       Valid values of the stateful default action:
       </p>
       <ul>
       <li>
       <p>
       aws:drop_strict
       </p>
       </li>
       <li>
       <p>
       aws:drop_established
       </p>
       </li>
       <li>
       <p>
       aws:alert_strict
       </p>
       </li>
       <li>
       <p>
       aws:alert_established
       </p>
       </li>
       </ul>
       <p>
       For more information, see <a href=
       "https://docs.aws.amazon.com/network-firewall/latest/developerguide/suricata-rule-evaluation-order.html#suricata-strict-rule-evaluation-order.html"
       >Strict evaluation order</a> in the <i>Network Firewall Developer Guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-networkfirewall/src/main/java/com/amazonaws/services/networkfirewall/model/FirewallPolicy.java