public RuleOption withSettings(String... settings) {
        if (this.settings == null) {
            setSettings(new java.util.ArrayList<String>(settings.length));
        }
        for (String ele : settings) {
            this.settings.add(ele);
        }
        return this;
    }
<p>
The settings of the Suricata compatible rule option. Rule options have zero or more setting values, and the
number of possible and required settings depends on the <code>Keyword</code>. For more information about the
settings for specific options, see <a
href="https://suricata.readthedocs.io/en/suricata-6.0.9/rules/intro.html#rule-options">Rule options</a>.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSettings(java.util.Collection)} or {@link #withSettings(java.util.Collection)} if you want to override
the existing values.
</p>

@param settings
       The settings of the Suricata compatible rule option. Rule options have zero or more setting values, and
       the number of possible and required settings depends on the <code>Keyword</code>. For more information
       about the settings for specific options, see <a
       href="https://suricata.readthedocs.io/en/suricata-6.0.9/rules/intro.html#rule-options">Rule options</a>.
@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/RuleOption.java