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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaBatchAssociateApprovalRuleTemplateWithRepositoriesError.builder().When the
Consumercompletes,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:
-