Interface BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeCommitResponse.Builder,CopyableBuilder<BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse.Builder,BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse>,SdkBuilder<BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse.Builder,BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse
public static interface BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse.Builder extends CodeCommitResponse.Builder, SdkPojo, CopyableBuilder<BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse.Builder,BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse.BuilderdisassociatedRepositoryNames(String... disassociatedRepositoryNames)A list of repository names that have had their association with the template removed.BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse.BuilderdisassociatedRepositoryNames(Collection<String> disassociatedRepositoryNames)A list of repository names that have had their association with the template removed.BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse.Buildererrors(Collection<BatchDisassociateApprovalRuleTemplateFromRepositoriesError> errors)A list of any errors that might have occurred while attempting to remove the association between the template and the repositories.BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse.Buildererrors(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.BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse.Buildererrors(BatchDisassociateApprovalRuleTemplateFromRepositoriesError... errors)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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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.Builderavoiding the need to create one manually viaBatchDisassociateApprovalRuleTemplateFromRepositoriesError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#errors(List.) - 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:
#errors(java.util.Collection)
-
-