public StatefulEngineOptions withRuleOrder(RuleOrder ruleOrder) {
        this.ruleOrder = ruleOrder.toString();
        return this;
    }
<p>
Indicates how to manage the order of stateful rule evaluation for the policy. <code>STRICT_ORDER</code> is the
default and recommended option. With <code>STRICT_ORDER</code>, provide your rules in the order that you want
them to be evaluated. You can then choose one or more default actions for packets that don't match any rules.
Choose <code>STRICT_ORDER</code> to have the stateful rules engine determine the evaluation order of your rules.
The default action for this rule order is <code>PASS</code>, followed by <code>DROP</code>, <code>REJECT</code>,
and <code>ALERT</code> actions. Stateful rules are provided to the rule engine as Suricata compatible strings,
and Suricata evaluates them based on your settings. For more information, see <a
href="https://docs.aws.amazon.com/network-firewall/latest/developerguide/suricata-rule-evaluation-order.html"
>Evaluation order for stateful rules</a> in the <i>Network Firewall Developer Guide</i>.
</p>

@param ruleOrder
       Indicates how to manage the order of stateful rule evaluation for the policy. <code>STRICT_ORDER</code> is
       the default and recommended option. With <code>STRICT_ORDER</code>, provide your rules in the order that
       you want them to be evaluated. You can then choose one or more default actions for packets that don't
       match any rules. Choose <code>STRICT_ORDER</code> to have the stateful rules engine determine the
       evaluation order of your rules. The default action for this rule order is <code>PASS</code>, followed by
       <code>DROP</code>, <code>REJECT</code>, and <code>ALERT</code> actions. Stateful rules are provided to the
       rule engine as Suricata compatible strings, and Suricata evaluates them based on your settings. For more
       information, see <a href=
       "https://docs.aws.amazon.com/network-firewall/latest/developerguide/suricata-rule-evaluation-order.html"
       >Evaluation order for stateful rules</a> in the <i>Network Firewall Developer Guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
@see RuleOrder
aws-java-sdk-networkfirewall/src/main/java/com/amazonaws/services/networkfirewall/model/StatefulEngineOptions.java