Struct aws_sdk_ecr::model::pull_through_cache_rule::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for PullThroughCacheRule.
Implementations§
source§impl Builder
impl Builder
sourcepub fn ecr_repository_prefix(self, input: impl Into<String>) -> Self
pub fn ecr_repository_prefix(self, input: impl Into<String>) -> Self
The Amazon ECR repository prefix associated with the pull through cache rule.
sourcepub fn set_ecr_repository_prefix(self, input: Option<String>) -> Self
pub fn set_ecr_repository_prefix(self, input: Option<String>) -> Self
The Amazon ECR repository prefix associated with the pull through cache rule.
sourcepub fn upstream_registry_url(self, input: impl Into<String>) -> Self
pub fn upstream_registry_url(self, input: impl Into<String>) -> Self
The upstream registry URL associated with 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 upstream registry URL associated with the pull through cache rule.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The date and time the pull through cache 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 the pull through cache was created.
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 the pull through cache rule is associated with.
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 the pull through cache rule is associated with.
sourcepub fn build(self) -> PullThroughCacheRule
pub fn build(self) -> PullThroughCacheRule
Consumes the builder and constructs a PullThroughCacheRule.