Struct aws_sdk_ecr::operation::create_pull_through_cache_rule::builders::CreatePullThroughCacheRuleInputBuilder
source · #[non_exhaustive]pub struct CreatePullThroughCacheRuleInputBuilder { /* private fields */ }
Expand description
A builder for CreatePullThroughCacheRuleInput
.
Implementations§
source§impl CreatePullThroughCacheRuleInputBuilder
impl CreatePullThroughCacheRuleInputBuilder
sourcepub fn ecr_repository_prefix(self, input: impl Into<String>) -> Self
pub fn ecr_repository_prefix(self, input: impl Into<String>) -> Self
The repository name prefix to use when caching images from the source registry.
sourcepub fn set_ecr_repository_prefix(self, input: Option<String>) -> Self
pub fn set_ecr_repository_prefix(self, input: Option<String>) -> Self
The repository name prefix to use when caching images from the source registry.
sourcepub fn upstream_registry_url(self, input: impl Into<String>) -> Self
pub fn upstream_registry_url(self, input: impl Into<String>) -> Self
The registry URL of the upstream public registry to use as the source for the pull through cache rule.
sourcepub fn set_upstream_registry_url(self, input: Option<String>) -> Self
pub fn set_upstream_registry_url(self, input: Option<String>) -> Self
The registry URL of the upstream public registry to use as the source for the pull through cache rule.
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 to create the pull through cache rule for. If you do not specify a registry, the default registry is assumed.
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 to create the pull through cache rule for. If you do not specify a registry, the default registry is assumed.
sourcepub fn build(self) -> Result<CreatePullThroughCacheRuleInput, BuildError>
pub fn build(self) -> Result<CreatePullThroughCacheRuleInput, BuildError>
Consumes the builder and constructs a CreatePullThroughCacheRuleInput
.
Trait Implementations§
source§impl Clone for CreatePullThroughCacheRuleInputBuilder
impl Clone for CreatePullThroughCacheRuleInputBuilder
source§fn clone(&self) -> CreatePullThroughCacheRuleInputBuilder
fn clone(&self) -> CreatePullThroughCacheRuleInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreatePullThroughCacheRuleInputBuilder
impl Default for CreatePullThroughCacheRuleInputBuilder
source§fn default() -> CreatePullThroughCacheRuleInputBuilder
fn default() -> CreatePullThroughCacheRuleInputBuilder
source§impl PartialEq<CreatePullThroughCacheRuleInputBuilder> for CreatePullThroughCacheRuleInputBuilder
impl PartialEq<CreatePullThroughCacheRuleInputBuilder> for CreatePullThroughCacheRuleInputBuilder
source§fn eq(&self, other: &CreatePullThroughCacheRuleInputBuilder) -> bool
fn eq(&self, other: &CreatePullThroughCacheRuleInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.