#[non_exhaustive]pub struct CachePolicySummaryBuilder { /* private fields */ }
Expand description
A builder for CachePolicySummary
.
Implementations§
source§impl CachePolicySummaryBuilder
impl CachePolicySummaryBuilder
sourcepub fn type(self, input: CachePolicyType) -> Self
pub fn type(self, input: CachePolicyType) -> Self
The type of cache policy, either managed
(created by Amazon Web Services) or custom
(created in this Amazon Web Services account).
sourcepub fn set_type(self, input: Option<CachePolicyType>) -> Self
pub fn set_type(self, input: Option<CachePolicyType>) -> Self
The type of cache policy, either managed
(created by Amazon Web Services) or custom
(created in this Amazon Web Services account).
sourcepub fn cache_policy(self, input: CachePolicy) -> Self
pub fn cache_policy(self, input: CachePolicy) -> Self
The cache policy.
sourcepub fn set_cache_policy(self, input: Option<CachePolicy>) -> Self
pub fn set_cache_policy(self, input: Option<CachePolicy>) -> Self
The cache policy.
sourcepub fn build(self) -> CachePolicySummary
pub fn build(self) -> CachePolicySummary
Consumes the builder and constructs a CachePolicySummary
.
Trait Implementations§
source§impl Clone for CachePolicySummaryBuilder
impl Clone for CachePolicySummaryBuilder
source§fn clone(&self) -> CachePolicySummaryBuilder
fn clone(&self) -> CachePolicySummaryBuilder
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 Debug for CachePolicySummaryBuilder
impl Debug for CachePolicySummaryBuilder
source§impl Default for CachePolicySummaryBuilder
impl Default for CachePolicySummaryBuilder
source§fn default() -> CachePolicySummaryBuilder
fn default() -> CachePolicySummaryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CachePolicySummaryBuilder> for CachePolicySummaryBuilder
impl PartialEq<CachePolicySummaryBuilder> for CachePolicySummaryBuilder
source§fn eq(&self, other: &CachePolicySummaryBuilder) -> bool
fn eq(&self, other: &CachePolicySummaryBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.