@Stability(value=Stable) public static final class ResponseHeadersFrameOptions.Builder extends Object implements software.amazon.jsii.Builder<ResponseHeadersFrameOptions>
ResponseHeadersFrameOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ResponseHeadersFrameOptions |
build()
Builds the configured instance.
|
ResponseHeadersFrameOptions.Builder |
frameOption(HeadersFrameOption frameOption)
Sets the value of
ResponseHeadersFrameOptions.getFrameOption() |
ResponseHeadersFrameOptions.Builder |
override(Boolean override)
Sets the value of
ResponseHeadersFrameOptions.getOverride() |
@Stability(value=Stable) public ResponseHeadersFrameOptions.Builder frameOption(HeadersFrameOption frameOption)
ResponseHeadersFrameOptions.getFrameOption()frameOption - The value of the X-Frame-Options HTTP response header. This parameter is required.this@Stability(value=Stable) public ResponseHeadersFrameOptions.Builder override(Boolean override)
ResponseHeadersFrameOptions.getOverride()override - A Boolean that determines whether CloudFront overrides the X-Frame-Options 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 ResponseHeadersFrameOptions build()
build in interface software.amazon.jsii.Builder<ResponseHeadersFrameOptions>ResponseHeadersFrameOptionsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.