public ListApprovalRuleTemplatesResult withApprovalRuleTemplateNames(String... approvalRuleTemplateNames) {
        if (this.approvalRuleTemplateNames == null) {
            setApprovalRuleTemplateNames(new java.util.ArrayList<String>(approvalRuleTemplateNames.length));
        }
        for (String ele : approvalRuleTemplateNames) {
            this.approvalRuleTemplateNames.add(ele);
        }
        return this;
    }
<p>
The names of all the approval rule templates found in the Amazon Web Services Region for your Amazon Web Services
account.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setApprovalRuleTemplateNames(java.util.Collection)} or
{@link #withApprovalRuleTemplateNames(java.util.Collection)} if you want to override the existing values.
</p>

@param approvalRuleTemplateNames
       The names of all the approval rule templates found in the Amazon Web Services Region for your Amazon Web
       Services account.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codecommit/src/main/java/com/amazonaws/services/codecommit/model/ListApprovalRuleTemplatesResult.java