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