Struct aws_sdk_ecrpublic::operation::create_repository::builders::CreateRepositoryInputBuilder
source · #[non_exhaustive]pub struct CreateRepositoryInputBuilder { /* private fields */ }Expand description
A builder for CreateRepositoryInput.
Implementations§
source§impl CreateRepositoryInputBuilder
impl CreateRepositoryInputBuilder
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 get_repository_name(&self) -> &Option<String>
pub fn get_repository_name(&self) -> &Option<String>
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.
sourcepub fn get_catalog_data(&self) -> &Option<RepositoryCatalogDataInput>
pub fn get_catalog_data(&self) -> &Option<RepositoryCatalogDataInput>
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.
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.
source§impl CreateRepositoryInputBuilder
impl CreateRepositoryInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateRepositoryOutput, SdkError<CreateRepositoryError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateRepositoryOutput, SdkError<CreateRepositoryError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateRepositoryInputBuilder
impl Clone for CreateRepositoryInputBuilder
source§fn clone(&self) -> CreateRepositoryInputBuilder
fn clone(&self) -> CreateRepositoryInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateRepositoryInputBuilder
impl Debug for CreateRepositoryInputBuilder
source§impl Default for CreateRepositoryInputBuilder
impl Default for CreateRepositoryInputBuilder
source§fn default() -> CreateRepositoryInputBuilder
fn default() -> CreateRepositoryInputBuilder
source§impl PartialEq for CreateRepositoryInputBuilder
impl PartialEq for CreateRepositoryInputBuilder
source§fn eq(&self, other: &CreateRepositoryInputBuilder) -> bool
fn eq(&self, other: &CreateRepositoryInputBuilder) -> bool
self and other values to be equal, and is used
by ==.