public DescribeSecurityGroupRulesRequest withSecurityGroupRuleIds(String... securityGroupRuleIds) {
        if (this.securityGroupRuleIds == null) {
            setSecurityGroupRuleIds(new com.amazonaws.internal.SdkInternalList<String>(securityGroupRuleIds.length));
        }
        for (String ele : securityGroupRuleIds) {
            this.securityGroupRuleIds.add(ele);
        }
        return this;
    }
<p>
The IDs of the security group rules.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSecurityGroupRuleIds(java.util.Collection)} or {@link #withSecurityGroupRuleIds(java.util.Collection)}
if you want to override the existing values.
</p>

@param securityGroupRuleIds
       The IDs of the security group rules.
@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/DescribeSecurityGroupRulesRequest.java