Struct aws_sdk_ecr::operation::delete_pull_through_cache_rule::builders::DeletePullThroughCacheRuleInputBuilder
source · #[non_exhaustive]pub struct DeletePullThroughCacheRuleInputBuilder { /* private fields */ }
Expand description
A builder for DeletePullThroughCacheRuleInput
.
Implementations§
source§impl DeletePullThroughCacheRuleInputBuilder
impl DeletePullThroughCacheRuleInputBuilder
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 to delete.
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 to delete.
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 that contains the pull through cache rule. 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 that contains the pull through cache rule. If you do not specify a registry, the default registry is assumed.
sourcepub fn build(self) -> Result<DeletePullThroughCacheRuleInput, BuildError>
pub fn build(self) -> Result<DeletePullThroughCacheRuleInput, BuildError>
Consumes the builder and constructs a DeletePullThroughCacheRuleInput
.
Trait Implementations§
source§impl Clone for DeletePullThroughCacheRuleInputBuilder
impl Clone for DeletePullThroughCacheRuleInputBuilder
source§fn clone(&self) -> DeletePullThroughCacheRuleInputBuilder
fn clone(&self) -> DeletePullThroughCacheRuleInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for DeletePullThroughCacheRuleInputBuilder
impl Default for DeletePullThroughCacheRuleInputBuilder
source§fn default() -> DeletePullThroughCacheRuleInputBuilder
fn default() -> DeletePullThroughCacheRuleInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<DeletePullThroughCacheRuleInputBuilder> for DeletePullThroughCacheRuleInputBuilder
impl PartialEq<DeletePullThroughCacheRuleInputBuilder> for DeletePullThroughCacheRuleInputBuilder
source§fn eq(&self, other: &DeletePullThroughCacheRuleInputBuilder) -> bool
fn eq(&self, other: &DeletePullThroughCacheRuleInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.