Struct aws_sdk_cloudfront::model::response_headers_policy::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for ResponseHeadersPolicy
Implementations
The identifier for the response headers policy.
The identifier for the response headers policy.
The date and time when the response headers policy was last modified.
The date and time when the response headers policy was last modified.
A response headers policy configuration.
A response headers policy contains information about a set of HTTP response headers and their values. CloudFront adds the headers in the policy to HTTP responses that it sends for requests that match a cache behavior that’s associated with the policy.
pub fn set_response_headers_policy_config(
self,
input: Option<ResponseHeadersPolicyConfig>
) -> Self
pub fn set_response_headers_policy_config(
self,
input: Option<ResponseHeadersPolicyConfig>
) -> Self
A response headers policy configuration.
A response headers policy contains information about a set of HTTP response headers and their values. CloudFront adds the headers in the policy to HTTP responses that it sends for requests that match a cache behavior that’s associated with the policy.
Consumes the builder and constructs a ResponseHeadersPolicy
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