@Stability(value=Stable) public static final class ResponseHeadersStrictTransportSecurity.Builder extends Object implements software.amazon.jsii.Builder<ResponseHeadersStrictTransportSecurity>
ResponseHeadersStrictTransportSecurity| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ResponseHeadersStrictTransportSecurity.Builder |
accessControlMaxAge(Duration accessControlMaxAge)
Sets the value of
ResponseHeadersStrictTransportSecurity.getAccessControlMaxAge() |
ResponseHeadersStrictTransportSecurity |
build()
Builds the configured instance.
|
ResponseHeadersStrictTransportSecurity.Builder |
includeSubdomains(Boolean includeSubdomains)
Sets the value of
ResponseHeadersStrictTransportSecurity.getIncludeSubdomains() |
ResponseHeadersStrictTransportSecurity.Builder |
override(Boolean override)
Sets the value of
ResponseHeadersStrictTransportSecurity.getOverride() |
ResponseHeadersStrictTransportSecurity.Builder |
preload(Boolean preload)
Sets the value of
ResponseHeadersStrictTransportSecurity.getPreload() |
@Stability(value=Stable) public ResponseHeadersStrictTransportSecurity.Builder accessControlMaxAge(Duration accessControlMaxAge)
ResponseHeadersStrictTransportSecurity.getAccessControlMaxAge()accessControlMaxAge - A number that CloudFront uses as the value for the max-age directive in the Strict-Transport-Security HTTP response header. This parameter is required.this@Stability(value=Stable) public ResponseHeadersStrictTransportSecurity.Builder override(Boolean override)
ResponseHeadersStrictTransportSecurity.getOverride()override - A Boolean that determines whether CloudFront overrides the Strict-Transport-Security 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 ResponseHeadersStrictTransportSecurity.Builder includeSubdomains(Boolean includeSubdomains)
ResponseHeadersStrictTransportSecurity.getIncludeSubdomains()includeSubdomains - A Boolean that determines whether CloudFront includes the includeSubDomains directive in the Strict-Transport-Security HTTP response header.this@Stability(value=Stable) public ResponseHeadersStrictTransportSecurity.Builder preload(Boolean preload)
ResponseHeadersStrictTransportSecurity.getPreload()preload - A Boolean that determines whether CloudFront includes the preload directive in the Strict-Transport-Security HTTP response header.this@Stability(value=Stable) public ResponseHeadersStrictTransportSecurity build()
build in interface software.amazon.jsii.Builder<ResponseHeadersStrictTransportSecurity>ResponseHeadersStrictTransportSecurityNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.