@Stability(value=Stable) public static final class CfnResponseHeadersPolicy.ReferrerPolicyProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnResponseHeadersPolicy.ReferrerPolicyProperty>
CfnResponseHeadersPolicy.ReferrerPolicyProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnResponseHeadersPolicy.ReferrerPolicyProperty |
build()
Builds the configured instance.
|
CfnResponseHeadersPolicy.ReferrerPolicyProperty.Builder |
override(Boolean override)
Sets the value of
CfnResponseHeadersPolicy.ReferrerPolicyProperty.getOverride() |
CfnResponseHeadersPolicy.ReferrerPolicyProperty.Builder |
override(IResolvable override)
Sets the value of
CfnResponseHeadersPolicy.ReferrerPolicyProperty.getOverride() |
CfnResponseHeadersPolicy.ReferrerPolicyProperty.Builder |
referrerPolicy(String referrerPolicy)
Sets the value of
CfnResponseHeadersPolicy.ReferrerPolicyProperty.getReferrerPolicy() |
@Stability(value=Stable) public CfnResponseHeadersPolicy.ReferrerPolicyProperty.Builder override(Boolean override)
CfnResponseHeadersPolicy.ReferrerPolicyProperty.getOverride()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. This parameter is required.this@Stability(value=Stable) public CfnResponseHeadersPolicy.ReferrerPolicyProperty.Builder override(IResolvable override)
CfnResponseHeadersPolicy.ReferrerPolicyProperty.getOverride()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. This parameter is required.this@Stability(value=Stable) public CfnResponseHeadersPolicy.ReferrerPolicyProperty.Builder referrerPolicy(String referrerPolicy)
CfnResponseHeadersPolicy.ReferrerPolicyProperty.getReferrerPolicy()referrerPolicy - The value of the `Referrer-Policy` HTTP response header. Valid values are:. This parameter is required.
no-referrerno-referrer-when-downgradeoriginorigin-when-cross-originsame-originstrict-originstrict-origin-when-cross-originunsafe-urlFor more information about these values, see Referrer-Policy in the MDN Web Docs.
this@Stability(value=Stable) public CfnResponseHeadersPolicy.ReferrerPolicyProperty build()
build in interface software.amazon.jsii.Builder<CfnResponseHeadersPolicy.ReferrerPolicyProperty>CfnResponseHeadersPolicy.ReferrerPolicyPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.