Struct aws_sdk_ecrpublic::operation::create_repository::builders::CreateRepositoryFluentBuilder
source · pub struct CreateRepositoryFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to CreateRepository.
Creates a repository in a public registry. For more information, see Amazon ECR repositories in the Amazon Elastic Container Registry User Guide.
Implementations§
source§impl CreateRepositoryFluentBuilder
impl CreateRepositoryFluentBuilder
sourcepub fn as_input(&self) -> &CreateRepositoryInputBuilder
pub fn as_input(&self) -> &CreateRepositoryInputBuilder
Access the CreateRepository as a reference.
sourcepub async fn send(
self
) -> Result<CreateRepositoryOutput, SdkError<CreateRepositoryError, HttpResponse>>
pub async fn send( self ) -> Result<CreateRepositoryOutput, SdkError<CreateRepositoryError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateRepositoryOutput, CreateRepositoryError>, SdkError<CreateRepositoryError>>
pub async fn customize( self ) -> Result<CustomizableOperation<CreateRepositoryOutput, CreateRepositoryError>, SdkError<CreateRepositoryError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
Trait Implementations§
source§impl Clone for CreateRepositoryFluentBuilder
impl Clone for CreateRepositoryFluentBuilder
source§fn clone(&self) -> CreateRepositoryFluentBuilder
fn clone(&self) -> CreateRepositoryFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more