Interface AssociateExternalConnectionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeartifactResponse.Builder
,CopyableBuilder<AssociateExternalConnectionResponse.Builder,
,AssociateExternalConnectionResponse> SdkBuilder<AssociateExternalConnectionResponse.Builder,
,AssociateExternalConnectionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
AssociateExternalConnectionResponse
public static interface AssociateExternalConnectionResponse.Builder
extends CodeartifactResponse.Builder, SdkPojo, CopyableBuilder<AssociateExternalConnectionResponse.Builder,AssociateExternalConnectionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionrepository
(Consumer<RepositoryDescription.Builder> repository) Information about the connected repository after processing the request.repository
(RepositoryDescription repository) Information about the connected repository after processing the request.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 Details
-
repository
Information about the connected repository after processing the request.
- Parameters:
repository
- Information about the connected repository after processing the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repository
default AssociateExternalConnectionResponse.Builder repository(Consumer<RepositoryDescription.Builder> repository) Information about the connected repository after processing the request.
This is a convenience method that creates an instance of theRepositoryDescription.Builder
avoiding the need to create one manually viaRepositoryDescription.builder()
.When the
Consumer
completes,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:
-