Interface CreatePremiumRepositoryRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreatePremiumRepositoryRequest.Builder,,CreatePremiumRepositoryRequest> EcrPublicRequest.Builder,SdkBuilder<CreatePremiumRepositoryRequest.Builder,,CreatePremiumRepositoryRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreatePremiumRepositoryRequest
-
Method Summary
Modifier and TypeMethodDescriptioncatalogData(Consumer<RepositoryCatalogDataInput.Builder> catalogData) The details about the premium repository that are publicly visible in the Amazon ECR Public Gallery.catalogData(RepositoryCatalogDataInput catalogData) The details about the premium repository that are publicly visible in the Amazon ECR Public Gallery.marketplaceProducts(String... marketplaceProducts) The list of Amazon Web Services Marketplace product IDs for the premium repository.marketplaceProducts(Collection<String> marketplaceProducts) The list of Amazon Web Services Marketplace product IDs for the premium repository.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.repositoryName(String repositoryName) The name to use for the premium repository.tags(Collection<Tag> tags) The metadata that you apply to the premium repository to help categorize and organize your repositories.tags(Consumer<Tag.Builder>... tags) The metadata that you apply to the premium repository to help categorize and organize your repositories.The metadata that you apply to the premium repository to help categorize and organize your repositories.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ecrpublic.model.EcrPublicRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
repositoryName
The name to use for the premium repository. You can specify the name on its own (for example
nginx-web-app) or prepend a namespace to group the repository into a category (for exampleproject-a/nginx-web-app). You can give a premium repository the same name as a free repository in the same registry.- Parameters:
repositoryName- The name to use for the premium repository. You can specify the name on its own (for examplenginx-web-app) or prepend a namespace to group the repository into a category (for exampleproject-a/nginx-web-app). You can give a premium repository the same name as a free repository in the same registry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
catalogData
The details about the premium repository that are publicly visible in the Amazon ECR Public Gallery. A premium repository is listed in the Amazon ECR Public Gallery when it's
AVAILABLEand at least one of its Amazon Web Services Marketplace products is public.- Parameters:
catalogData- The details about the premium repository that are publicly visible in the Amazon ECR Public Gallery. A premium repository is listed in the Amazon ECR Public Gallery when it'sAVAILABLEand at least one of its Amazon Web Services Marketplace products is public.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
catalogData
default CreatePremiumRepositoryRequest.Builder catalogData(Consumer<RepositoryCatalogDataInput.Builder> catalogData) The details about the premium repository that are publicly visible in the Amazon ECR Public Gallery. A premium repository is listed in the Amazon ECR Public Gallery when it's
This is a convenience method that creates an instance of theAVAILABLEand at least one of its Amazon Web Services Marketplace products is public.RepositoryCatalogDataInput.Builderavoiding the need to create one manually viaRepositoryCatalogDataInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocatalogData(RepositoryCatalogDataInput).- Parameters:
catalogData- a consumer that will call methods onRepositoryCatalogDataInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
marketplaceProducts
The list of Amazon Web Services Marketplace product IDs for the premium repository. You can specify from one to five product IDs. Your account must own each product, and each product must have an Amazon ECR Public Premium delivery option. You can't specify the same product ID more than once.
- Parameters:
marketplaceProducts- The list of Amazon Web Services Marketplace product IDs for the premium repository. You can specify from one to five product IDs. Your account must own each product, and each product must have an Amazon ECR Public Premium delivery option. You can't specify the same product ID more than once.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
marketplaceProducts
The list of Amazon Web Services Marketplace product IDs for the premium repository. You can specify from one to five product IDs. Your account must own each product, and each product must have an Amazon ECR Public Premium delivery option. You can't specify the same product ID more than once.
- Parameters:
marketplaceProducts- The list of Amazon Web Services Marketplace product IDs for the premium repository. You can specify from one to five product IDs. Your account must own each product, and each product must have an Amazon ECR Public Premium delivery option. You can't specify the same product ID more than once.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The metadata that you apply to the premium repository to help categorize and organize your repositories. Each tag consists of a key and an optional value. You define both of them. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
- Parameters:
tags- The metadata that you apply to the premium repository to help categorize and organize your repositories. Each tag consists of a key and an optional value. You define both of them. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The metadata that you apply to the premium repository to help categorize and organize your repositories. Each tag consists of a key and an optional value. You define both of them. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
- Parameters:
tags- The metadata that you apply to the premium repository to help categorize and organize your repositories. Each tag consists of a key and an optional value. You define both of them. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The metadata that you apply to the premium repository to help categorize and organize your repositories. Each tag consists of a key and an optional value. You define both of them. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreatePremiumRepositoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreatePremiumRepositoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-