Interface CreateRepositoryCreationTemplateResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateRepositoryCreationTemplateResponse.Builder,,CreateRepositoryCreationTemplateResponse> EcrResponse.Builder,SdkBuilder<CreateRepositoryCreationTemplateResponse.Builder,,CreateRepositoryCreationTemplateResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateRepositoryCreationTemplateResponse
public static interface CreateRepositoryCreationTemplateResponse.Builder
extends EcrResponse.Builder, SdkPojo, CopyableBuilder<CreateRepositoryCreationTemplateResponse.Builder,CreateRepositoryCreationTemplateResponse>
-
Method Summary
Modifier and TypeMethodDescriptionregistryId(String registryId) The registry ID associated with the request.repositoryCreationTemplate(Consumer<RepositoryCreationTemplate.Builder> repositoryCreationTemplate) The details of the repository creation template associated with the request.repositoryCreationTemplate(RepositoryCreationTemplate repositoryCreationTemplate) The details of the repository creation template associated with the request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ecr.model.EcrResponse.Builder
build, responseMetadata, responseMetadataMethods 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
-
registryId
The registry ID associated with the request.
- Parameters:
registryId- The registry ID associated with the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryCreationTemplate
CreateRepositoryCreationTemplateResponse.Builder repositoryCreationTemplate(RepositoryCreationTemplate repositoryCreationTemplate) The details of the repository creation template associated with the request.
- Parameters:
repositoryCreationTemplate- The details of the repository creation template associated with the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryCreationTemplate
default CreateRepositoryCreationTemplateResponse.Builder repositoryCreationTemplate(Consumer<RepositoryCreationTemplate.Builder> repositoryCreationTemplate) The details of the repository creation template associated with the request.
This is a convenience method that creates an instance of theRepositoryCreationTemplate.Builderavoiding the need to create one manually viaRepositoryCreationTemplate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torepositoryCreationTemplate(RepositoryCreationTemplate).- Parameters:
repositoryCreationTemplate- a consumer that will call methods onRepositoryCreationTemplate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-