public ListRepositoriesForApprovalRuleTemplateResult withRepositoryNames(String... repositoryNames) {
        if (this.repositoryNames == null) {
            setRepositoryNames(new java.util.ArrayList<String>(repositoryNames.length));
        }
        for (String ele : repositoryNames) {
            this.repositoryNames.add(ele);
        }
        return this;
    }
<p>
A list of repository names that are associated with the specified approval rule template.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setRepositoryNames(java.util.Collection)} or {@link #withRepositoryNames(java.util.Collection)} if you
want to override the existing values.
</p>

@param repositoryNames
       A list of repository names that are associated with the specified approval rule template.
@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/ListRepositoriesForApprovalRuleTemplateResult.java