Interface BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeCommitResponse.Builder
,CopyableBuilder<BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse.Builder,
,BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse> SdkBuilder<BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse.Builder,
,BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse
-
Method Summary
Modifier and TypeMethodDescriptiondisassociatedRepositoryNames
(String... disassociatedRepositoryNames) A list of repository names that have had their association with the template removed.disassociatedRepositoryNames
(Collection<String> disassociatedRepositoryNames) A list of repository names that have had their association with the template removed.A list of any errors that might have occurred while attempting to remove the association between the template and the repositories.A list of any errors that might have occurred while attempting to remove the association between the template and the repositories.A list of any errors that might have occurred while attempting to remove 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
-
disassociatedRepositoryNames
BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse.Builder disassociatedRepositoryNames(Collection<String> disassociatedRepositoryNames) A list of repository names that have had their association with the template removed.
- Parameters:
disassociatedRepositoryNames
- A list of repository names that have had their association with the template removed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
disassociatedRepositoryNames
BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse.Builder disassociatedRepositoryNames(String... disassociatedRepositoryNames) A list of repository names that have had their association with the template removed.
- Parameters:
disassociatedRepositoryNames
- A list of repository names that have had their association with the template removed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse.Builder errors(Collection<BatchDisassociateApprovalRuleTemplateFromRepositoriesError> errors) A list of any errors that might have occurred while attempting to remove the association between the template and the repositories.
- Parameters:
errors
- A list of any errors that might have occurred while attempting to remove the association between the template and the repositories.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse.Builder errors(BatchDisassociateApprovalRuleTemplateFromRepositoriesError... errors) A list of any errors that might have occurred while attempting to remove the association between the template and the repositories.
- Parameters:
errors
- A list of any errors that might have occurred while attempting to remove the association between the template and the repositories.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse.Builder errors(Consumer<BatchDisassociateApprovalRuleTemplateFromRepositoriesError.Builder>... errors) A list of any errors that might have occurred while attempting to remove the association between the template and the repositories.
This is a convenience method that creates an instance of theBatchDisassociateApprovalRuleTemplateFromRepositoriesError.Builder
avoiding the need to create one manually viaBatchDisassociateApprovalRuleTemplateFromRepositoriesError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrors(List<BatchDisassociateApprovalRuleTemplateFromRepositoriesError>)
.- Parameters:
errors
- a consumer that will call methods onBatchDisassociateApprovalRuleTemplateFromRepositoriesError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-