Interface DisassociateRepositoryResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeGuruReviewerResponse.Builder,CopyableBuilder<DisassociateRepositoryResponse.Builder,DisassociateRepositoryResponse>,SdkBuilder<DisassociateRepositoryResponse.Builder,DisassociateRepositoryResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DisassociateRepositoryResponse
public static interface DisassociateRepositoryResponse.Builder extends CodeGuruReviewerResponse.Builder, SdkPojo, CopyableBuilder<DisassociateRepositoryResponse.Builder,DisassociateRepositoryResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DisassociateRepositoryResponse.BuilderrepositoryAssociation(Consumer<RepositoryAssociation.Builder> repositoryAssociation)Information about the disassociated repository.DisassociateRepositoryResponse.BuilderrepositoryAssociation(RepositoryAssociation repositoryAssociation)Information about the disassociated repository.DisassociateRepositoryResponse.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
DisassociateRepositoryResponse.Builder repositoryAssociation(RepositoryAssociation repositoryAssociation)
Information about the disassociated repository.
- Parameters:
repositoryAssociation- Information about the disassociated repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryAssociation
default DisassociateRepositoryResponse.Builder repositoryAssociation(Consumer<RepositoryAssociation.Builder> repositoryAssociation)
Information about the disassociated repository.
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
DisassociateRepositoryResponse.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.
-
-
-