Struct aws_sdk_cloudfront::model::response_headers_policy_referrer_policy::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for ResponseHeadersPolicyReferrerPolicy
Implementations
A Boolean that determines whether CloudFront overrides the Referrer-Policy
HTTP
response header received from the origin with the one specified in this response headers
policy.
A Boolean that determines whether CloudFront overrides the Referrer-Policy
HTTP
response header received from the origin with the one specified in this response headers
policy.
The value of the Referrer-Policy
HTTP response header. Valid values
are:
-
no-referrer
-
no-referrer-when-downgrade
-
origin
-
origin-when-cross-origin
-
same-origin
-
strict-origin
-
strict-origin-when-cross-origin
-
unsafe-url
For more information about these values, see Referrer-Policy in the MDN Web Docs.
The value of the Referrer-Policy
HTTP response header. Valid values
are:
-
no-referrer
-
no-referrer-when-downgrade
-
origin
-
origin-when-cross-origin
-
same-origin
-
strict-origin
-
strict-origin-when-cross-origin
-
unsafe-url
For more information about these values, see Referrer-Policy in the MDN Web Docs.
Consumes the builder and constructs a ResponseHeadersPolicyReferrerPolicy
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