Interface BatchAssociateApprovalRuleTemplateWithRepositoriesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CodeCommitRequest.Builder
,CopyableBuilder<BatchAssociateApprovalRuleTemplateWithRepositoriesRequest.Builder,
,BatchAssociateApprovalRuleTemplateWithRepositoriesRequest> SdkBuilder<BatchAssociateApprovalRuleTemplateWithRepositoriesRequest.Builder,
,BatchAssociateApprovalRuleTemplateWithRepositoriesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
BatchAssociateApprovalRuleTemplateWithRepositoriesRequest
public static interface BatchAssociateApprovalRuleTemplateWithRepositoriesRequest.Builder
extends CodeCommitRequest.Builder, SdkPojo, CopyableBuilder<BatchAssociateApprovalRuleTemplateWithRepositoriesRequest.Builder,BatchAssociateApprovalRuleTemplateWithRepositoriesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionapprovalRuleTemplateName
(String approvalRuleTemplateName) The name of the template you want to associate with one or more repositories.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.repositoryNames
(String... repositoryNames) The names of the repositories you want to associate with the template.repositoryNames
(Collection<String> repositoryNames) The names of the repositories you want to associate with the template.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.codecommit.model.CodeCommitRequest.Builder
build
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
-
Method Details
-
approvalRuleTemplateName
BatchAssociateApprovalRuleTemplateWithRepositoriesRequest.Builder approvalRuleTemplateName(String approvalRuleTemplateName) The name of the template you want to associate with one or more repositories.
- Parameters:
approvalRuleTemplateName
- The name of the template you want to associate with one or more repositories.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryNames
BatchAssociateApprovalRuleTemplateWithRepositoriesRequest.Builder repositoryNames(Collection<String> repositoryNames) The names of the repositories you want to associate with the template.
The length constraint limit is for each string in the array. The array itself can be empty.
- Parameters:
repositoryNames
- The names of the repositories you want to associate with the template.The length constraint limit is for each string in the array. The array itself can be empty.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryNames
BatchAssociateApprovalRuleTemplateWithRepositoriesRequest.Builder repositoryNames(String... repositoryNames) The names of the repositories you want to associate with the template.
The length constraint limit is for each string in the array. The array itself can be empty.
- Parameters:
repositoryNames
- The names of the repositories you want to associate with the template.The length constraint limit is for each string in the array. The array itself can be empty.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
BatchAssociateApprovalRuleTemplateWithRepositoriesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
BatchAssociateApprovalRuleTemplateWithRepositoriesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-