Struct aws_sdk_ecr::operation::describe_pull_through_cache_rules::builders::DescribePullThroughCacheRulesOutputBuilder
source · #[non_exhaustive]pub struct DescribePullThroughCacheRulesOutputBuilder { /* private fields */ }Expand description
A builder for DescribePullThroughCacheRulesOutput.
Implementations§
source§impl DescribePullThroughCacheRulesOutputBuilder
impl DescribePullThroughCacheRulesOutputBuilder
sourcepub fn pull_through_cache_rules(self, input: PullThroughCacheRule) -> Self
pub fn pull_through_cache_rules(self, input: PullThroughCacheRule) -> Self
Appends an item to pull_through_cache_rules.
To override the contents of this collection use set_pull_through_cache_rules.
The details of the pull through cache rules.
sourcepub fn set_pull_through_cache_rules(
self,
input: Option<Vec<PullThroughCacheRule>>,
) -> Self
pub fn set_pull_through_cache_rules( self, input: Option<Vec<PullThroughCacheRule>>, ) -> Self
The details of the pull through cache rules.
sourcepub fn get_pull_through_cache_rules(&self) -> &Option<Vec<PullThroughCacheRule>>
pub fn get_pull_through_cache_rules(&self) -> &Option<Vec<PullThroughCacheRule>>
The details of the pull through cache rules.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The nextToken value to include in a future DescribePullThroughCacheRulesRequest request. When the results of a DescribePullThroughCacheRulesRequest request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The nextToken value to include in a future DescribePullThroughCacheRulesRequest request. When the results of a DescribePullThroughCacheRulesRequest request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The nextToken value to include in a future DescribePullThroughCacheRulesRequest request. When the results of a DescribePullThroughCacheRulesRequest request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.
sourcepub fn build(self) -> DescribePullThroughCacheRulesOutput
pub fn build(self) -> DescribePullThroughCacheRulesOutput
Consumes the builder and constructs a DescribePullThroughCacheRulesOutput.
Trait Implementations§
source§impl Clone for DescribePullThroughCacheRulesOutputBuilder
impl Clone for DescribePullThroughCacheRulesOutputBuilder
source§fn clone(&self) -> DescribePullThroughCacheRulesOutputBuilder
fn clone(&self) -> DescribePullThroughCacheRulesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DescribePullThroughCacheRulesOutputBuilder
impl Default for DescribePullThroughCacheRulesOutputBuilder
source§fn default() -> DescribePullThroughCacheRulesOutputBuilder
fn default() -> DescribePullThroughCacheRulesOutputBuilder
source§impl PartialEq for DescribePullThroughCacheRulesOutputBuilder
impl PartialEq for DescribePullThroughCacheRulesOutputBuilder
source§fn eq(&self, other: &DescribePullThroughCacheRulesOutputBuilder) -> bool
fn eq(&self, other: &DescribePullThroughCacheRulesOutputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DescribePullThroughCacheRulesOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribePullThroughCacheRulesOutputBuilder
impl RefUnwindSafe for DescribePullThroughCacheRulesOutputBuilder
impl Send for DescribePullThroughCacheRulesOutputBuilder
impl Sync for DescribePullThroughCacheRulesOutputBuilder
impl Unpin for DescribePullThroughCacheRulesOutputBuilder
impl UnwindSafe for DescribePullThroughCacheRulesOutputBuilder
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