Interface BatchAssociateApprovalRuleTemplateWithRepositoriesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeCommitResponse.Builder
,CopyableBuilder<BatchAssociateApprovalRuleTemplateWithRepositoriesResponse.Builder,
,BatchAssociateApprovalRuleTemplateWithRepositoriesResponse> SdkBuilder<BatchAssociateApprovalRuleTemplateWithRepositoriesResponse.Builder,
,BatchAssociateApprovalRuleTemplateWithRepositoriesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchAssociateApprovalRuleTemplateWithRepositoriesResponse
public static interface BatchAssociateApprovalRuleTemplateWithRepositoriesResponse.Builder
extends CodeCommitResponse.Builder, SdkPojo, CopyableBuilder<BatchAssociateApprovalRuleTemplateWithRepositoriesResponse.Builder,BatchAssociateApprovalRuleTemplateWithRepositoriesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionassociatedRepositoryNames
(String... associatedRepositoryNames) A list of names of the repositories that have been associated with the template.associatedRepositoryNames
(Collection<String> associatedRepositoryNames) A list of names of the repositories that have been associated with the template.A list of any errors that might have occurred while attempting to create the association between the template and the repositories.A list of any errors that might have occurred while attempting to create the association between the template and the repositories.A list of any errors that might have occurred while attempting to create the association between the template and the repositories.Methods inherited from interface software.amazon.awssdk.services.codecommit.model.CodeCommitResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
associatedRepositoryNames
BatchAssociateApprovalRuleTemplateWithRepositoriesResponse.Builder associatedRepositoryNames(Collection<String> associatedRepositoryNames) A list of names of the repositories that have been associated with the template.
- Parameters:
associatedRepositoryNames
- A list of names of the repositories that have been associated with the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedRepositoryNames
BatchAssociateApprovalRuleTemplateWithRepositoriesResponse.Builder associatedRepositoryNames(String... associatedRepositoryNames) A list of names of the repositories that have been associated with the template.
- Parameters:
associatedRepositoryNames
- A list of names of the repositories that have been associated with the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
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.
- Parameters:
errors
- A list of any errors that might have occurred while attempting to create the association between the template and the repositories.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
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.
- Parameters:
errors
- A list of any errors that might have occurred while attempting to create the association between the template and the repositories.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
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 viaBatchAssociateApprovalRuleTemplateWithRepositoriesError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrors(List<BatchAssociateApprovalRuleTemplateWithRepositoriesError>)
.- Parameters:
errors
- a consumer that will call methods onBatchAssociateApprovalRuleTemplateWithRepositoriesError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-