public AdditionalDetail withRuleGroupRuleOptionsPairs(RuleGroupRuleOptionsPair... ruleGroupRuleOptionsPairs) {
        if (this.ruleGroupRuleOptionsPairs == null) {
            setRuleGroupRuleOptionsPairs(new com.amazonaws.internal.SdkInternalList<RuleGroupRuleOptionsPair>(ruleGroupRuleOptionsPairs.length));
        }
        for (RuleGroupRuleOptionsPair ele : ruleGroupRuleOptionsPairs) {
            this.ruleGroupRuleOptionsPairs.add(ele);
        }
        return this;
    }
<p>
The rule options.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setRuleGroupRuleOptionsPairs(java.util.Collection)} or
{@link #withRuleGroupRuleOptionsPairs(java.util.Collection)} if you want to override the existing values.
</p>

@param ruleGroupRuleOptionsPairs
       The rule options.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/AdditionalDetail.java