Interface CreateRepositoryResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CodeartifactResponse.Builder,CopyableBuilder<CreateRepositoryResponse.Builder,,CreateRepositoryResponse> SdkBuilder<CreateRepositoryResponse.Builder,,CreateRepositoryResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 CreateRepositoryResponse
public static interface CreateRepositoryResponse.Builder
extends CodeartifactResponse.Builder, SdkPojo, CopyableBuilder<CreateRepositoryResponse.Builder,CreateRepositoryResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptiondefault CreateRepositoryResponse.Builderrepository(Consumer<RepositoryDescription.Builder> repository) Information about the created repository after processing the request.repository(RepositoryDescription repository) Information about the created repository after processing the request.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
Information about the created repository after processing the request.
- Parameters:
 repository- Information about the created repository after processing the request.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
repository
default CreateRepositoryResponse.Builder repository(Consumer<RepositoryDescription.Builder> repository) Information about the created repository after processing the request.
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:
 
 
 -