public StatefulRule withRuleOptions(RuleOption... ruleOptions) {
        if (this.ruleOptions == null) {
            setRuleOptions(new java.util.ArrayList<RuleOption>(ruleOptions.length));
        }
        for (RuleOption ele : ruleOptions) {
            this.ruleOptions.add(ele);
        }
        return this;
    }
<p>
Additional options for the rule. These are the Suricata <code>RuleOptions</code> settings.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setRuleOptions(java.util.Collection)} or {@link #withRuleOptions(java.util.Collection)} if you want to
override the existing values.
</p>

@param ruleOptions
       Additional options for the rule. These are the Suricata <code>RuleOptions</code> settings.
@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/StatefulRule.java