public BatchGetAutomationRulesRequest withAutomationRulesArns(String... automationRulesArns) {
        if (this.automationRulesArns == null) {
            setAutomationRulesArns(new java.util.ArrayList<String>(automationRulesArns.length));
        }
        for (String ele : automationRulesArns) {
            this.automationRulesArns.add(ele);
        }
        return this;
    }
<p>
A list of rule ARNs to get details for.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAutomationRulesArns(java.util.Collection)} or {@link #withAutomationRulesArns(java.util.Collection)}
if you want to override the existing values.
</p>

@param automationRulesArns
       A list of rule ARNs to get details for.
@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/BatchGetAutomationRulesRequest.java