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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DisassociateExternalConnectionResponse.Builderrepository(Consumer<RepositoryDescription.Builder> repository)The repository associated with the removed external connection.DisassociateExternalConnectionResponse.Builderrepository(RepositoryDescription repository)The repository associated with the removed external connection.-
Methods inherited from interface software.amazon.awssdk.services.codeartifact.model.CodeartifactResponse.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
-
repository
DisassociateExternalConnectionResponse.Builder repository(RepositoryDescription 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:
repository(RepositoryDescription)
-
-