Interface ResponseHeadersPolicyReferrerPolicy.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ResponseHeadersPolicyReferrerPolicy.Builder,ResponseHeadersPolicyReferrerPolicy>,SdkBuilder<ResponseHeadersPolicyReferrerPolicy.Builder,ResponseHeadersPolicyReferrerPolicy>,SdkPojo
- Enclosing class:
- ResponseHeadersPolicyReferrerPolicy
@Mutable @NotThreadSafe public static interface ResponseHeadersPolicyReferrerPolicy.Builder extends SdkPojo, CopyableBuilder<ResponseHeadersPolicyReferrerPolicy.Builder,ResponseHeadersPolicyReferrerPolicy>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResponseHeadersPolicyReferrerPolicy.Builderoverride(Boolean override)A Boolean that determines whether CloudFront overrides theReferrer-PolicyHTTP response header received from the origin with the one specified in this response headers policy.ResponseHeadersPolicyReferrerPolicy.BuilderreferrerPolicy(String referrerPolicy)The value of theReferrer-PolicyHTTP response header.ResponseHeadersPolicyReferrerPolicy.BuilderreferrerPolicy(ReferrerPolicyList referrerPolicy)The value of theReferrer-PolicyHTTP response header.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
override
ResponseHeadersPolicyReferrerPolicy.Builder override(Boolean override)
A Boolean that determines whether CloudFront overrides the
Referrer-PolicyHTTP response header received from the origin with the one specified in this response headers policy.- Parameters:
override- A Boolean that determines whether CloudFront overrides theReferrer-PolicyHTTP response header received from the origin with the one specified in this response headers policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
referrerPolicy
ResponseHeadersPolicyReferrerPolicy.Builder referrerPolicy(String referrerPolicy)
The value of the
Referrer-PolicyHTTP 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.
- Parameters:
referrerPolicy- The value of theReferrer-PolicyHTTP 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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ReferrerPolicyList,ReferrerPolicyList
-
-
referrerPolicy
ResponseHeadersPolicyReferrerPolicy.Builder referrerPolicy(ReferrerPolicyList referrerPolicy)
The value of the
Referrer-PolicyHTTP 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.
- Parameters:
referrerPolicy- The value of theReferrer-PolicyHTTP 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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ReferrerPolicyList,ReferrerPolicyList
-
-
-