Struct aws_sdk_ecrpublic::model::repository::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for Repository.
Implementations§
source§impl Builder
impl Builder
sourcepub fn repository_arn(self, input: impl Into<String>) -> Self
pub fn repository_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) that identifies the repository. The ARN contains the arn:aws:ecr namespace, followed by the region of the repository, Amazon Web Services account ID of the repository owner, repository namespace, and repository name. For example, arn:aws:ecr:region:012345678910:repository/test.
sourcepub fn set_repository_arn(self, input: Option<String>) -> Self
pub fn set_repository_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) that identifies the repository. The ARN contains the arn:aws:ecr namespace, followed by the region of the repository, Amazon Web Services account ID of the repository owner, repository namespace, and repository name. For example, arn:aws:ecr:region:012345678910:repository/test.
sourcepub fn registry_id(self, input: impl Into<String>) -> Self
pub fn registry_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID that's associated with the public registry that contains the repository.
sourcepub fn set_registry_id(self, input: Option<String>) -> Self
pub fn set_registry_id(self, input: Option<String>) -> Self
The Amazon Web Services account ID that's associated with the public registry that contains the repository.
sourcepub fn repository_name(self, input: impl Into<String>) -> Self
pub fn repository_name(self, input: impl Into<String>) -> Self
The name of the repository.
sourcepub fn set_repository_name(self, input: Option<String>) -> Self
pub fn set_repository_name(self, input: Option<String>) -> Self
The name of the repository.
sourcepub fn repository_uri(self, input: impl Into<String>) -> Self
pub fn repository_uri(self, input: impl Into<String>) -> Self
The URI for the repository. You can use this URI for container image push and pull operations.
sourcepub fn set_repository_uri(self, input: Option<String>) -> Self
pub fn set_repository_uri(self, input: Option<String>) -> Self
The URI for the repository. You can use this URI for container image push and pull operations.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The date and time, in JavaScript date format, when the repository was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The date and time, in JavaScript date format, when the repository was created.
sourcepub fn build(self) -> Repository
pub fn build(self) -> Repository
Consumes the builder and constructs a Repository.