Struct aws_sdk_cloudfront::model::CachePolicySummary
source · #[non_exhaustive]pub struct CachePolicySummary { /* private fields */ }
Expand description
Contains a cache policy.
Implementations§
source§impl CachePolicySummary
impl CachePolicySummary
sourcepub fn type(&self) -> Option<&CachePolicyType>
pub fn type(&self) -> Option<&CachePolicyType>
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) -> Option<&CachePolicy>
pub fn cache_policy(&self) -> Option<&CachePolicy>
The cache policy.
source§impl CachePolicySummary
impl CachePolicySummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CachePolicySummary
.
Trait Implementations§
source§impl Clone for CachePolicySummary
impl Clone for CachePolicySummary
source§fn clone(&self) -> CachePolicySummary
fn clone(&self) -> CachePolicySummary
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 CachePolicySummary
impl Debug for CachePolicySummary
source§impl PartialEq<CachePolicySummary> for CachePolicySummary
impl PartialEq<CachePolicySummary> for CachePolicySummary
source§fn eq(&self, other: &CachePolicySummary) -> bool
fn eq(&self, other: &CachePolicySummary) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.