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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchAssociateApprovalRuleTemplateWithRepositoriesResponse.BuilderassociatedRepositoryNames(String... associatedRepositoryNames)A list of names of the repositories that have been associated with the template.BatchAssociateApprovalRuleTemplateWithRepositoriesResponse.BuilderassociatedRepositoryNames(Collection<String> associatedRepositoryNames)A list of names of the repositories that have been associated with the template.BatchAssociateApprovalRuleTemplateWithRepositoriesResponse.Buildererrors(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.Buildererrors(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.BatchAssociateApprovalRuleTemplateWithRepositoriesResponse.Buildererrors(BatchAssociateApprovalRuleTemplateWithRepositoriesError... errors)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 Detail
-
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.Builderavoiding the need to create one manually viaBatchAssociateApprovalRuleTemplateWithRepositoriesError.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 onBatchAssociateApprovalRuleTemplateWithRepositoriesError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#errors(java.util.Collection)
-
-