Struct aws_sdk_cloudfront::model::cached_methods::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for CachedMethods
Implementations
The number of HTTP methods for which you want CloudFront to cache responses. Valid values are
2
(for caching responses to GET
and HEAD
requests)
and 3
(for caching responses to GET
, HEAD
, and
OPTIONS
requests).
The number of HTTP methods for which you want CloudFront to cache responses. Valid values are
2
(for caching responses to GET
and HEAD
requests)
and 3
(for caching responses to GET
, HEAD
, and
OPTIONS
requests).
Appends an item to items
.
To override the contents of this collection use set_items
.
A complex type that contains the HTTP methods that you want CloudFront to cache responses to.
A complex type that contains the HTTP methods that you want CloudFront to cache responses to.
Consumes the builder and constructs a CachedMethods
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more