public static interface BatchAssociateApprovalRuleTemplateWithRepositoriesResponse.Builder extends CodeCommitResponse.Builder, SdkPojo, CopyableBuilder<BatchAssociateApprovalRuleTemplateWithRepositoriesResponse.Builder,BatchAssociateApprovalRuleTemplateWithRepositoriesResponse>
| Modifier and Type | Method and Description |
|---|---|
BatchAssociateApprovalRuleTemplateWithRepositoriesResponse.Builder |
associatedRepositoryNames(Collection<String> associatedRepositoryNames)
A list of names of the repositories that have been associated with the template.
|
BatchAssociateApprovalRuleTemplateWithRepositoriesResponse.Builder |
associatedRepositoryNames(String... associatedRepositoryNames)
A list of names of the repositories that have been associated with the template.
|
BatchAssociateApprovalRuleTemplateWithRepositoriesResponse.Builder |
errors(BatchAssociateApprovalRuleTemplateWithRepositoriesError... errors)
A list of any errors that might have occurred while attempting to create the association between the template
and the repositories.
|
BatchAssociateApprovalRuleTemplateWithRepositoriesResponse.Builder |
errors(Collection<BatchAssociateApprovalRuleTemplateWithRepositoriesError> errors)
A list of any errors that might have occurred while attempting to create the association between the template
and the repositories.
|
BatchAssociateApprovalRuleTemplateWithRepositoriesResponse.Builder |
errors(Consumer<BatchAssociateApprovalRuleTemplateWithRepositoriesError.Builder>... errors)
A list of any errors that might have occurred while attempting to create the association between the template
and the repositories.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildBatchAssociateApprovalRuleTemplateWithRepositoriesResponse.Builder associatedRepositoryNames(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.BatchAssociateApprovalRuleTemplateWithRepositoriesResponse.Builder associatedRepositoryNames(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.BatchAssociateApprovalRuleTemplateWithRepositoriesResponse.Builder errors(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.BatchAssociateApprovalRuleTemplateWithRepositoriesResponse.Builder errors(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.BatchAssociateApprovalRuleTemplateWithRepositoriesResponse.Builder errors(Consumer<BatchAssociateApprovalRuleTemplateWithRepositoriesError.Builder>... errors)
A list of any errors that might have occurred while attempting to create the association between the template and the repositories.
This is a convenience method that creates an instance of theBatchAssociateApprovalRuleTemplateWithRepositoriesError.Builder
avoiding the need to create one manually via
BatchAssociateApprovalRuleTemplateWithRepositoriesError.builder()
.
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #errors(List.
errors - a consumer that will call methods on
BatchAssociateApprovalRuleTemplateWithRepositoriesError.Builder#errors(java.util.Collection) Copyright © 2022. All rights reserved.