Interface AssociateRepositoryResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeGuruReviewerResponse.Builder
,CopyableBuilder<AssociateRepositoryResponse.Builder,
,AssociateRepositoryResponse> SdkBuilder<AssociateRepositoryResponse.Builder,
,AssociateRepositoryResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
AssociateRepositoryResponse
-
Method Summary
Modifier and TypeMethodDescriptionrepositoryAssociation
(Consumer<RepositoryAssociation.Builder> repositoryAssociation) Information about the repository association.repositoryAssociation
(RepositoryAssociation repositoryAssociation) Information about the repository association.An array of key-value pairs used to tag an associated repository.Methods inherited from interface software.amazon.awssdk.services.codegurureviewer.model.CodeGuruReviewerResponse.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
-
repositoryAssociation
AssociateRepositoryResponse.Builder repositoryAssociation(RepositoryAssociation repositoryAssociation) Information about the repository association.
- Parameters:
repositoryAssociation
- Information about the repository association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryAssociation
default AssociateRepositoryResponse.Builder repositoryAssociation(Consumer<RepositoryAssociation.Builder> repositoryAssociation) Information about the repository association.
This is a convenience method that creates an instance of theRepositoryAssociation.Builder
avoiding the need to create one manually viaRepositoryAssociation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torepositoryAssociation(RepositoryAssociation)
.- Parameters:
repositoryAssociation
- a consumer that will call methods onRepositoryAssociation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:
-
A tag key (for example,
CostCenter
,Environment
,Project
, orSecret
). Tag keys are case sensitive. -
An optional field known as a tag value (for example,
111122223333
,Production
, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.
- Parameters:
tags
- An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:-
A tag key (for example,
CostCenter
,Environment
,Project
, orSecret
). Tag keys are case sensitive. -
An optional field known as a tag value (for example,
111122223333
,Production
, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-