pub struct Builder { /* private fields */ }Expand description
A builder for AwsCloudFrontDistributionCacheBehaviors.
Implementations§
source§impl Builder
impl Builder
sourcepub fn items(self, input: AwsCloudFrontDistributionCacheBehavior) -> Self
pub fn items(self, input: AwsCloudFrontDistributionCacheBehavior) -> Self
Appends an item to items.
To override the contents of this collection use set_items.
The cache behaviors for the distribution.
sourcepub fn set_items(
self,
input: Option<Vec<AwsCloudFrontDistributionCacheBehavior>>
) -> Self
pub fn set_items(
self,
input: Option<Vec<AwsCloudFrontDistributionCacheBehavior>>
) -> Self
The cache behaviors for the distribution.
sourcepub fn build(self) -> AwsCloudFrontDistributionCacheBehaviors
pub fn build(self) -> AwsCloudFrontDistributionCacheBehaviors
Consumes the builder and constructs a AwsCloudFrontDistributionCacheBehaviors.