Struct aws_sdk_ecr::model::repository::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for Repository
.
Implementations
sourceimpl 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
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more