Interface DisassociateExternalConnectionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeartifactResponse.Builder,CopyableBuilder<DisassociateExternalConnectionResponse.Builder,,DisassociateExternalConnectionResponse> SdkBuilder<DisassociateExternalConnectionResponse.Builder,,DisassociateExternalConnectionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DisassociateExternalConnectionResponse
public static interface DisassociateExternalConnectionResponse.Builder
extends CodeartifactResponse.Builder, SdkPojo, CopyableBuilder<DisassociateExternalConnectionResponse.Builder,DisassociateExternalConnectionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionrepository(Consumer<RepositoryDescription.Builder> repository) The repository associated with the removed external connection.repository(RepositoryDescription repository) The repository associated with the removed external connection.Methods inherited from interface software.amazon.awssdk.services.codeartifact.model.CodeartifactResponse.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
-
repository
The repository associated with the removed external connection.
- Parameters:
repository- The repository associated with the removed external connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repository
default DisassociateExternalConnectionResponse.Builder repository(Consumer<RepositoryDescription.Builder> repository) The repository associated with the removed external connection.
This is a convenience method that creates an instance of theRepositoryDescription.Builderavoiding the need to create one manually viaRepositoryDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torepository(RepositoryDescription).- Parameters:
repository- a consumer that will call methods onRepositoryDescription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-