public static interface ResponseHeadersPolicyReferrerPolicy.Builder extends SdkPojo, CopyableBuilder<ResponseHeadersPolicyReferrerPolicy.Builder,ResponseHeadersPolicyReferrerPolicy>
| Modifier and Type | Method and Description |
|---|---|
ResponseHeadersPolicyReferrerPolicy.Builder |
override(Boolean override)
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. |
ResponseHeadersPolicyReferrerPolicy.Builder |
referrerPolicy(ReferrerPolicyList referrerPolicy)
The value of the
Referrer-Policy HTTP response header. |
ResponseHeadersPolicyReferrerPolicy.Builder |
referrerPolicy(String referrerPolicy)
The value of the
Referrer-Policy HTTP response header. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildResponseHeadersPolicyReferrerPolicy.Builder override(Boolean override)
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.
override - 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.ResponseHeadersPolicyReferrerPolicy.Builder referrerPolicy(String referrerPolicy)
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.
referrerPolicy - 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.
ReferrerPolicyList,
ReferrerPolicyListResponseHeadersPolicyReferrerPolicy.Builder referrerPolicy(ReferrerPolicyList referrerPolicy)
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.
referrerPolicy - 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.
ReferrerPolicyList,
ReferrerPolicyListCopyright © 2023. All rights reserved.