Struct aws_sdk_ecr::operation::update_pull_through_cache_rule::UpdatePullThroughCacheRuleInput
source · #[non_exhaustive]pub struct UpdatePullThroughCacheRuleInput {
pub registry_id: Option<String>,
pub ecr_repository_prefix: Option<String>,
pub credential_arn: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.registry_id: Option<String>
The Amazon Web Services account ID associated with the registry associated with the pull through cache rule. If you do not specify a registry, the default registry is assumed.
ecr_repository_prefix: Option<String>
The repository name prefix to use when caching images from the source registry.
credential_arn: Option<String>
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that identifies the credentials to authenticate to the upstream registry.
Implementations§
source§impl UpdatePullThroughCacheRuleInput
impl UpdatePullThroughCacheRuleInput
sourcepub fn registry_id(&self) -> Option<&str>
pub fn registry_id(&self) -> Option<&str>
The Amazon Web Services account ID associated with the registry associated with the pull through cache rule. If you do not specify a registry, the default registry is assumed.
sourcepub fn ecr_repository_prefix(&self) -> Option<&str>
pub fn ecr_repository_prefix(&self) -> Option<&str>
The repository name prefix to use when caching images from the source registry.
sourcepub fn credential_arn(&self) -> Option<&str>
pub fn credential_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that identifies the credentials to authenticate to the upstream registry.
source§impl UpdatePullThroughCacheRuleInput
impl UpdatePullThroughCacheRuleInput
sourcepub fn builder() -> UpdatePullThroughCacheRuleInputBuilder
pub fn builder() -> UpdatePullThroughCacheRuleInputBuilder
Creates a new builder-style object to manufacture UpdatePullThroughCacheRuleInput
.
Trait Implementations§
source§impl Clone for UpdatePullThroughCacheRuleInput
impl Clone for UpdatePullThroughCacheRuleInput
source§fn clone(&self) -> UpdatePullThroughCacheRuleInput
fn clone(&self) -> UpdatePullThroughCacheRuleInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for UpdatePullThroughCacheRuleInput
impl PartialEq for UpdatePullThroughCacheRuleInput
source§fn eq(&self, other: &UpdatePullThroughCacheRuleInput) -> bool
fn eq(&self, other: &UpdatePullThroughCacheRuleInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdatePullThroughCacheRuleInput
Auto Trait Implementations§
impl Freeze for UpdatePullThroughCacheRuleInput
impl RefUnwindSafe for UpdatePullThroughCacheRuleInput
impl Send for UpdatePullThroughCacheRuleInput
impl Sync for UpdatePullThroughCacheRuleInput
impl Unpin for UpdatePullThroughCacheRuleInput
impl UnwindSafe for UpdatePullThroughCacheRuleInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more