Struct aws_sdk_ecrpublic::input::create_repository_input::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for CreateRepositoryInput.
Implementations§
source§impl Builder
impl Builder
sourcepub fn repository_name(self, input: impl Into<String>) -> Self
pub fn repository_name(self, input: impl Into<String>) -> Self
The name to use for the repository. This appears publicly in the Amazon ECR Public Gallery. The repository name can be specified on its own (for example nginx-web-app) or prepended with a namespace to group the repository into a category (for example project-a/nginx-web-app).
sourcepub fn set_repository_name(self, input: Option<String>) -> Self
pub fn set_repository_name(self, input: Option<String>) -> Self
The name to use for the repository. This appears publicly in the Amazon ECR Public Gallery. The repository name can be specified on its own (for example nginx-web-app) or prepended with a namespace to group the repository into a category (for example project-a/nginx-web-app).
sourcepub fn catalog_data(self, input: RepositoryCatalogDataInput) -> Self
pub fn catalog_data(self, input: RepositoryCatalogDataInput) -> Self
The details about the repository that are publicly visible in the Amazon ECR Public Gallery.
sourcepub fn set_catalog_data(self, input: Option<RepositoryCatalogDataInput>) -> Self
pub fn set_catalog_data(self, input: Option<RepositoryCatalogDataInput>) -> Self
The details about the repository that are publicly visible in the Amazon ECR Public Gallery.
Appends an item to tags.
To override the contents of this collection use set_tags.
The metadata that you apply to each 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.
The metadata that you apply to each 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.
sourcepub fn build(self) -> Result<CreateRepositoryInput, BuildError>
pub fn build(self) -> Result<CreateRepositoryInput, BuildError>
Consumes the builder and constructs a CreateRepositoryInput.