Interface DescribeRepositoryAssociationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeGuruReviewerResponse.Builder,CopyableBuilder<DescribeRepositoryAssociationResponse.Builder,,DescribeRepositoryAssociationResponse> SdkBuilder<DescribeRepositoryAssociationResponse.Builder,,DescribeRepositoryAssociationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeRepositoryAssociationResponse
-
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, 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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
repositoryAssociation
DescribeRepositoryAssociationResponse.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 DescribeRepositoryAssociationResponse.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:
-
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.
-
-