Struct aws_sdk_cloudfront::model::cache_policy_summary::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CachePolicySummary
.
Implementations§
source§impl Builder
impl Builder
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
.