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<DescribePullThroughCacheRulesOutputBuilder> for DescribePullThroughCacheRulesOutputBuilder
impl PartialEq<DescribePullThroughCacheRulesOutputBuilder> 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 ==.