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.
This field is required.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 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 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 get_registry_id(&self) -> &Option<String>
pub fn get_registry_id(&self) -> &Option<String>
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.
source§impl DeletePullThroughCacheRuleInputBuilder
impl DeletePullThroughCacheRuleInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<DeletePullThroughCacheRuleOutput, SdkError<DeletePullThroughCacheRuleError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<DeletePullThroughCacheRuleOutput, SdkError<DeletePullThroughCacheRuleError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeletePullThroughCacheRuleInputBuilder
impl Clone for DeletePullThroughCacheRuleInputBuilder
source§fn clone(&self) -> DeletePullThroughCacheRuleInputBuilder
fn clone(&self) -> DeletePullThroughCacheRuleInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DeletePullThroughCacheRuleInputBuilder
impl Default for DeletePullThroughCacheRuleInputBuilder
source§fn default() -> DeletePullThroughCacheRuleInputBuilder
fn default() -> DeletePullThroughCacheRuleInputBuilder
source§impl PartialEq for DeletePullThroughCacheRuleInputBuilder
impl PartialEq for DeletePullThroughCacheRuleInputBuilder
source§fn eq(&self, other: &DeletePullThroughCacheRuleInputBuilder) -> bool
fn eq(&self, other: &DeletePullThroughCacheRuleInputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeletePullThroughCacheRuleInputBuilder
Auto Trait Implementations§
impl Freeze for DeletePullThroughCacheRuleInputBuilder
impl RefUnwindSafe for DeletePullThroughCacheRuleInputBuilder
impl Send for DeletePullThroughCacheRuleInputBuilder
impl Sync for DeletePullThroughCacheRuleInputBuilder
impl Unpin for DeletePullThroughCacheRuleInputBuilder
impl UnwindSafe for DeletePullThroughCacheRuleInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more