@Stability(value=Stable) public static final class ResponseHeadersContentTypeOptions.Builder extends Object implements software.amazon.jsii.Builder<ResponseHeadersContentTypeOptions>
ResponseHeadersContentTypeOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ResponseHeadersContentTypeOptions |
build()
Builds the configured instance.
|
ResponseHeadersContentTypeOptions.Builder |
override(Boolean override)
Sets the value of
ResponseHeadersContentTypeOptions.getOverride() |
@Stability(value=Stable) public ResponseHeadersContentTypeOptions.Builder override(Boolean override)
ResponseHeadersContentTypeOptions.getOverride()override - A Boolean that determines whether CloudFront overrides the X-Content-Type-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 ResponseHeadersContentTypeOptions build()
build in interface software.amazon.jsii.Builder<ResponseHeadersContentTypeOptions>ResponseHeadersContentTypeOptionsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.