Struct aws_sdk_ecr::operation::create_pull_through_cache_rule::CreatePullThroughCacheRuleInput
source · #[non_exhaustive]pub struct CreatePullThroughCacheRuleInput {
pub ecr_repository_prefix: Option<String>,
pub upstream_registry_url: Option<String>,
pub registry_id: 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.ecr_repository_prefix: Option<String>The repository name prefix to use when caching images from the source registry.
upstream_registry_url: Option<String>The registry URL of the upstream public registry to use as the source for the pull through cache rule.
registry_id: Option<String>The Amazon Web Services account ID associated with the registry to create the pull through cache rule for. If you do not specify a registry, the default registry is assumed.
Implementations§
source§impl CreatePullThroughCacheRuleInput
impl CreatePullThroughCacheRuleInput
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 upstream_registry_url(&self) -> Option<&str>
pub fn upstream_registry_url(&self) -> Option<&str>
The registry URL of the upstream public registry to use as the source for the pull through cache rule.
sourcepub fn registry_id(&self) -> Option<&str>
pub fn registry_id(&self) -> Option<&str>
The Amazon Web Services account ID associated with the registry to create the pull through cache rule for. If you do not specify a registry, the default registry is assumed.
source§impl CreatePullThroughCacheRuleInput
impl CreatePullThroughCacheRuleInput
sourcepub fn builder() -> CreatePullThroughCacheRuleInputBuilder
pub fn builder() -> CreatePullThroughCacheRuleInputBuilder
Creates a new builder-style object to manufacture CreatePullThroughCacheRuleInput.
Trait Implementations§
source§impl Clone for CreatePullThroughCacheRuleInput
impl Clone for CreatePullThroughCacheRuleInput
source§fn clone(&self) -> CreatePullThroughCacheRuleInput
fn clone(&self) -> CreatePullThroughCacheRuleInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq<CreatePullThroughCacheRuleInput> for CreatePullThroughCacheRuleInput
impl PartialEq<CreatePullThroughCacheRuleInput> for CreatePullThroughCacheRuleInput
source§fn eq(&self, other: &CreatePullThroughCacheRuleInput) -> bool
fn eq(&self, other: &CreatePullThroughCacheRuleInput) -> bool
self and other values to be equal, and is used
by ==.