* A list of names of the repositories that have been associated with the template. *
*/ private java.util.List* A list of any errors that might have occurred while attempting to create the association between the template and * the repositories. *
*/ private java.util.List* A list of names of the repositories that have been associated with the template. *
* * @return A list of names of the repositories that have been associated with the template. */ public java.util.List* A list of names of the repositories that have been associated with the template. *
* * @param associatedRepositoryNames * A list of names of the repositories that have been associated with the template. */ public void setAssociatedRepositoryNames(java.util.Collection* A list of names of the repositories that have been associated with the template. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setAssociatedRepositoryNames(java.util.Collection)} or * {@link #withAssociatedRepositoryNames(java.util.Collection)} if you want to override the existing values. *
* * @param associatedRepositoryNames * A list of names of the repositories that have been associated with the template. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchAssociateApprovalRuleTemplateWithRepositoriesResult withAssociatedRepositoryNames(String... associatedRepositoryNames) { if (this.associatedRepositoryNames == null) { setAssociatedRepositoryNames(new java.util.ArrayList* A list of names of the repositories that have been associated with the template. *
* * @param associatedRepositoryNames * A list of names of the repositories that have been associated with the template. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchAssociateApprovalRuleTemplateWithRepositoriesResult withAssociatedRepositoryNames(java.util.Collection* A list of any errors that might have occurred while attempting to create the association between the template and * the repositories. *
* * @return A list of any errors that might have occurred while attempting to create the association between the * template and the repositories. */ public java.util.List* A list of any errors that might have occurred while attempting to create the association between the template and * the repositories. *
* * @param errors * A list of any errors that might have occurred while attempting to create the association between the * template and the repositories. */ public void setErrors(java.util.Collection* A list of any errors that might have occurred while attempting to create the association between the template and * the repositories. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setErrors(java.util.Collection)} or {@link #withErrors(java.util.Collection)} if you want to override the * existing values. *
* * @param errors * A list of any errors that might have occurred while attempting to create the association between the * template and the repositories. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchAssociateApprovalRuleTemplateWithRepositoriesResult withErrors(BatchAssociateApprovalRuleTemplateWithRepositoriesError... errors) { if (this.errors == null) { setErrors(new java.util.ArrayList* A list of any errors that might have occurred while attempting to create the association between the template and * the repositories. *
* * @param errors * A list of any errors that might have occurred while attempting to create the association between the * template and the repositories. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchAssociateApprovalRuleTemplateWithRepositoriesResult withErrors( java.util.Collection