Struct aws_sdk_ecr::types::builders::PullThroughCacheRuleBuilder
source · #[non_exhaustive]pub struct PullThroughCacheRuleBuilder { /* private fields */ }
Expand description
A builder for PullThroughCacheRule
.
Implementations§
source§impl PullThroughCacheRuleBuilder
impl PullThroughCacheRuleBuilder
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 get_ecr_repository_prefix(&self) -> &Option<String>
pub fn get_ecr_repository_prefix(&self) -> &Option<String>
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 get_upstream_registry_url(&self) -> &Option<String>
pub fn get_upstream_registry_url(&self) -> &Option<String>
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 get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
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 get_registry_id(&self) -> &Option<String>
pub fn get_registry_id(&self) -> &Option<String>
The Amazon Web Services account ID associated with the registry the pull through cache rule is associated with.
sourcepub fn credential_arn(self, input: impl Into<String>) -> Self
pub fn credential_arn(self, input: impl Into<String>) -> Self
The ARN of the Secrets Manager secret associated with the pull through cache rule.
sourcepub fn set_credential_arn(self, input: Option<String>) -> Self
pub fn set_credential_arn(self, input: Option<String>) -> Self
The ARN of the Secrets Manager secret associated with the pull through cache rule.
sourcepub fn get_credential_arn(&self) -> &Option<String>
pub fn get_credential_arn(&self) -> &Option<String>
The ARN of the Secrets Manager secret associated with the pull through cache rule.
sourcepub fn upstream_registry(self, input: UpstreamRegistry) -> Self
pub fn upstream_registry(self, input: UpstreamRegistry) -> Self
The name of the upstream source registry associated with the pull through cache rule.
sourcepub fn set_upstream_registry(self, input: Option<UpstreamRegistry>) -> Self
pub fn set_upstream_registry(self, input: Option<UpstreamRegistry>) -> Self
The name of the upstream source registry associated with the pull through cache rule.
sourcepub fn get_upstream_registry(&self) -> &Option<UpstreamRegistry>
pub fn get_upstream_registry(&self) -> &Option<UpstreamRegistry>
The name of the upstream source registry associated with the pull through cache rule.
sourcepub fn updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
The date and time, in JavaScript date format, when the pull through cache rule was last updated.
sourcepub fn set_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_updated_at(self, input: Option<DateTime>) -> Self
The date and time, in JavaScript date format, when the pull through cache rule was last updated.
sourcepub fn get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
The date and time, in JavaScript date format, when the pull through cache rule was last updated.
sourcepub fn build(self) -> PullThroughCacheRule
pub fn build(self) -> PullThroughCacheRule
Consumes the builder and constructs a PullThroughCacheRule
.
Trait Implementations§
source§impl Clone for PullThroughCacheRuleBuilder
impl Clone for PullThroughCacheRuleBuilder
source§fn clone(&self) -> PullThroughCacheRuleBuilder
fn clone(&self) -> PullThroughCacheRuleBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PullThroughCacheRuleBuilder
impl Debug for PullThroughCacheRuleBuilder
source§impl Default for PullThroughCacheRuleBuilder
impl Default for PullThroughCacheRuleBuilder
source§fn default() -> PullThroughCacheRuleBuilder
fn default() -> PullThroughCacheRuleBuilder
source§impl PartialEq for PullThroughCacheRuleBuilder
impl PartialEq for PullThroughCacheRuleBuilder
source§fn eq(&self, other: &PullThroughCacheRuleBuilder) -> bool
fn eq(&self, other: &PullThroughCacheRuleBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.