@Stability(value=Stable) public static final class ResponseHeadersReferrerPolicy.Builder extends Object implements software.amazon.jsii.Builder<ResponseHeadersReferrerPolicy>
ResponseHeadersReferrerPolicy| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ResponseHeadersReferrerPolicy |
build()
Builds the configured instance.
|
ResponseHeadersReferrerPolicy.Builder |
override(Boolean override)
Sets the value of
ResponseHeadersReferrerPolicy.getOverride() |
ResponseHeadersReferrerPolicy.Builder |
referrerPolicy(HeadersReferrerPolicy referrerPolicy)
Sets the value of
ResponseHeadersReferrerPolicy.getReferrerPolicy() |
@Stability(value=Stable) public ResponseHeadersReferrerPolicy.Builder override(Boolean override)
ResponseHeadersReferrerPolicy.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 ResponseHeadersReferrerPolicy.Builder referrerPolicy(HeadersReferrerPolicy referrerPolicy)
ResponseHeadersReferrerPolicy.getReferrerPolicy()referrerPolicy - The value of the Referrer-Policy HTTP response header. This parameter is required.this@Stability(value=Stable) public ResponseHeadersReferrerPolicy build()
build in interface software.amazon.jsii.Builder<ResponseHeadersReferrerPolicy>ResponseHeadersReferrerPolicyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.