@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchAssociateApprovalRuleTemplateWithRepositoriesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
BatchAssociateApprovalRuleTemplateWithRepositoriesResult() |
Modifier and Type | Method and Description |
---|---|
BatchAssociateApprovalRuleTemplateWithRepositoriesResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAssociatedRepositoryNames()
A list of names of the repositories that have been associated with the template.
|
List<BatchAssociateApprovalRuleTemplateWithRepositoriesError> |
getErrors()
A list of any errors that might have occurred while attempting to create the association between the template and
the repositories.
|
int |
hashCode() |
void |
setAssociatedRepositoryNames(Collection<String> associatedRepositoryNames)
A list of names of the repositories that have been associated with the template.
|
void |
setErrors(Collection<BatchAssociateApprovalRuleTemplateWithRepositoriesError> errors)
A list of any errors that might have occurred while attempting to create the association between the template and
the repositories.
|
String |
toString()
Returns a string representation of this object.
|
BatchAssociateApprovalRuleTemplateWithRepositoriesResult |
withAssociatedRepositoryNames(Collection<String> associatedRepositoryNames)
A list of names of the repositories that have been associated with the template.
|
BatchAssociateApprovalRuleTemplateWithRepositoriesResult |
withAssociatedRepositoryNames(String... associatedRepositoryNames)
A list of names of the repositories that have been associated with the template.
|
BatchAssociateApprovalRuleTemplateWithRepositoriesResult |
withErrors(BatchAssociateApprovalRuleTemplateWithRepositoriesError... errors)
A list of any errors that might have occurred while attempting to create the association between the template and
the repositories.
|
BatchAssociateApprovalRuleTemplateWithRepositoriesResult |
withErrors(Collection<BatchAssociateApprovalRuleTemplateWithRepositoriesError> errors)
A list of any errors that might have occurred while attempting to create the association between the template and
the repositories.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public BatchAssociateApprovalRuleTemplateWithRepositoriesResult()
public List<String> getAssociatedRepositoryNames()
A list of names of the repositories that have been associated with the template.
public void setAssociatedRepositoryNames(Collection<String> associatedRepositoryNames)
A list of names of the repositories that have been associated with the template.
associatedRepositoryNames
- A list of names of the repositories that have been associated with the template.public BatchAssociateApprovalRuleTemplateWithRepositoriesResult withAssociatedRepositoryNames(String... associatedRepositoryNames)
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
setAssociatedRepositoryNames(java.util.Collection)
or
withAssociatedRepositoryNames(java.util.Collection)
if you want to override the existing values.
associatedRepositoryNames
- A list of names of the repositories that have been associated with the template.public BatchAssociateApprovalRuleTemplateWithRepositoriesResult withAssociatedRepositoryNames(Collection<String> associatedRepositoryNames)
A list of names of the repositories that have been associated with the template.
associatedRepositoryNames
- A list of names of the repositories that have been associated with the template.public List<BatchAssociateApprovalRuleTemplateWithRepositoriesError> getErrors()
A list of any errors that might have occurred while attempting to create the association between the template and the repositories.
public void setErrors(Collection<BatchAssociateApprovalRuleTemplateWithRepositoriesError> errors)
A list of any errors that might have occurred while attempting to create the association between the template and the repositories.
errors
- A list of any errors that might have occurred while attempting to create the association between the
template and the repositories.public BatchAssociateApprovalRuleTemplateWithRepositoriesResult withErrors(BatchAssociateApprovalRuleTemplateWithRepositoriesError... errors)
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
setErrors(java.util.Collection)
or withErrors(java.util.Collection)
if you want to override the
existing values.
errors
- A list of any errors that might have occurred while attempting to create the association between the
template and the repositories.public BatchAssociateApprovalRuleTemplateWithRepositoriesResult withErrors(Collection<BatchAssociateApprovalRuleTemplateWithRepositoriesError> errors)
A list of any errors that might have occurred while attempting to create the association between the template and the repositories.
errors
- A list of any errors that might have occurred while attempting to create the association between the
template and the repositories.public String toString()
toString
in class Object
Object.toString()
public BatchAssociateApprovalRuleTemplateWithRepositoriesResult clone()