Struct aws_sdk_ecr::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 associated with the 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 associated with the 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 image_tag_mutability(self, input: ImageTagMutability) -> Self
pub fn image_tag_mutability(self, input: ImageTagMutability) -> Self
The tag mutability setting for the repository.
sourcepub fn set_image_tag_mutability(self, input: Option<ImageTagMutability>) -> Self
pub fn set_image_tag_mutability(self, input: Option<ImageTagMutability>) -> Self
The tag mutability setting for the repository.
sourcepub fn image_scanning_configuration(
self,
input: ImageScanningConfiguration
) -> Self
pub fn image_scanning_configuration(
self,
input: ImageScanningConfiguration
) -> Self
The image scanning configuration for a repository.
sourcepub fn set_image_scanning_configuration(
self,
input: Option<ImageScanningConfiguration>
) -> Self
pub fn set_image_scanning_configuration(
self,
input: Option<ImageScanningConfiguration>
) -> Self
The image scanning configuration for a repository.
sourcepub fn encryption_configuration(self, input: EncryptionConfiguration) -> Self
pub fn encryption_configuration(self, input: EncryptionConfiguration) -> Self
The encryption configuration for the repository. This determines how the contents of your repository are encrypted at rest.
sourcepub fn set_encryption_configuration(
self,
input: Option<EncryptionConfiguration>
) -> Self
pub fn set_encryption_configuration(
self,
input: Option<EncryptionConfiguration>
) -> Self
The encryption configuration for the repository. This determines how the contents of your repository are encrypted at rest.
sourcepub fn build(self) -> Repository
pub fn build(self) -> Repository
Consumes the builder and constructs a Repository
.