Interface AssociateRepositoryResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeGuruReviewerResponse.Builder,CopyableBuilder<AssociateRepositoryResponse.Builder,AssociateRepositoryResponse>,SdkBuilder<AssociateRepositoryResponse.Builder,AssociateRepositoryResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- AssociateRepositoryResponse
public static interface AssociateRepositoryResponse.Builder extends CodeGuruReviewerResponse.Builder, SdkPojo, CopyableBuilder<AssociateRepositoryResponse.Builder,AssociateRepositoryResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AssociateRepositoryResponse.BuilderrepositoryAssociation(Consumer<RepositoryAssociation.Builder> repositoryAssociation)Information about the repository association.AssociateRepositoryResponse.BuilderrepositoryAssociation(RepositoryAssociation repositoryAssociation)Information about the repository association.AssociateRepositoryResponse.Buildertags(Map<String,String> tags)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 Detail
-
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.Builderavoiding the need to create one manually viaRepositoryAssociation.builder().When the
Consumercompletes,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:
repositoryAssociation(RepositoryAssociation)
-
tags
AssociateRepositoryResponse.Builder tags(Map<String,String> 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.
-
-
-