public RuleGroupSourceStatefulRulesDetails withRuleOptions(RuleGroupSourceStatefulRulesOptionsDetails... ruleOptions) {
        if (this.ruleOptions == null) {
            setRuleOptions(new java.util.ArrayList<RuleGroupSourceStatefulRulesOptionsDetails>(ruleOptions.length));
        }
        for (RuleGroupSourceStatefulRulesOptionsDetails ele : ruleOptions) {
            this.ruleOptions.add(ele);
        }
        return this;
    }
<p>
Additional options for the rule.
</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.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/RuleGroupSourceStatefulRulesDetails.java