Interface CreateRepositoryResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateRepositoryResponse.Builder,
,CreateRepositoryResponse> EcrPublicResponse.Builder
,SdkBuilder<CreateRepositoryResponse.Builder,
,CreateRepositoryResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateRepositoryResponse
public static interface CreateRepositoryResponse.Builder
extends EcrPublicResponse.Builder, SdkPojo, CopyableBuilder<CreateRepositoryResponse.Builder,CreateRepositoryResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateRepositoryResponse.Builder
catalogData
(Consumer<RepositoryCatalogData.Builder> catalogData) Sets the value of the CatalogData property for this object.catalogData
(RepositoryCatalogData catalogData) Sets the value of the CatalogData property for this object.default CreateRepositoryResponse.Builder
repository
(Consumer<Repository.Builder> repository) The repository that was created.repository
(Repository repository) The repository that was created.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ecrpublic.model.EcrPublicResponse.Builder
build, responseMetadata, responseMetadata
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
The repository that was created.
- Parameters:
repository
- The repository that was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repository
The repository that was created.
This is a convenience method that creates an instance of theRepository.Builder
avoiding the need to create one manually viaRepository.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torepository(Repository)
.- Parameters:
repository
- a consumer that will call methods onRepository.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
catalogData
Sets the value of the CatalogData property for this object.- Parameters:
catalogData
- The new value for the CatalogData property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
catalogData
default CreateRepositoryResponse.Builder catalogData(Consumer<RepositoryCatalogData.Builder> catalogData) Sets the value of the CatalogData property for this object. This is a convenience method that creates an instance of theRepositoryCatalogData.Builder
avoiding the need to create one manually viaRepositoryCatalogData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocatalogData(RepositoryCatalogData)
.- Parameters:
catalogData
- a consumer that will call methods onRepositoryCatalogData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-