public static interface ResponseHeadersPolicySecurityHeadersConfig.Builder extends SdkPojo, CopyableBuilder<ResponseHeadersPolicySecurityHeadersConfig.Builder,ResponseHeadersPolicySecurityHeadersConfig>
| Modifier and Type | Method and Description |
|---|---|
default ResponseHeadersPolicySecurityHeadersConfig.Builder |
contentSecurityPolicy(Consumer<ResponseHeadersPolicyContentSecurityPolicy.Builder> contentSecurityPolicy)
The policy directives and their values that CloudFront includes as values for the
Content-Security-Policy HTTP response header. |
ResponseHeadersPolicySecurityHeadersConfig.Builder |
contentSecurityPolicy(ResponseHeadersPolicyContentSecurityPolicy contentSecurityPolicy)
The policy directives and their values that CloudFront includes as values for the
Content-Security-Policy HTTP response header. |
default ResponseHeadersPolicySecurityHeadersConfig.Builder |
contentTypeOptions(Consumer<ResponseHeadersPolicyContentTypeOptions.Builder> contentTypeOptions)
Determines whether CloudFront includes the
X-Content-Type-Options HTTP response header with its
value set to nosniff. |
ResponseHeadersPolicySecurityHeadersConfig.Builder |
contentTypeOptions(ResponseHeadersPolicyContentTypeOptions contentTypeOptions)
Determines whether CloudFront includes the
X-Content-Type-Options HTTP response header with its
value set to nosniff. |
default ResponseHeadersPolicySecurityHeadersConfig.Builder |
frameOptions(Consumer<ResponseHeadersPolicyFrameOptions.Builder> frameOptions)
Determines whether CloudFront includes the
X-Frame-Options HTTP response header and the header’s
value. |
ResponseHeadersPolicySecurityHeadersConfig.Builder |
frameOptions(ResponseHeadersPolicyFrameOptions frameOptions)
Determines whether CloudFront includes the
X-Frame-Options HTTP response header and the header’s
value. |
default ResponseHeadersPolicySecurityHeadersConfig.Builder |
referrerPolicy(Consumer<ResponseHeadersPolicyReferrerPolicy.Builder> referrerPolicy)
Determines whether CloudFront includes the
Referrer-Policy HTTP response header and the header’s
value. |
ResponseHeadersPolicySecurityHeadersConfig.Builder |
referrerPolicy(ResponseHeadersPolicyReferrerPolicy referrerPolicy)
Determines whether CloudFront includes the
Referrer-Policy HTTP response header and the header’s
value. |
default ResponseHeadersPolicySecurityHeadersConfig.Builder |
strictTransportSecurity(Consumer<ResponseHeadersPolicyStrictTransportSecurity.Builder> strictTransportSecurity)
Determines whether CloudFront includes the
Strict-Transport-Security HTTP response header and
the header’s value. |
ResponseHeadersPolicySecurityHeadersConfig.Builder |
strictTransportSecurity(ResponseHeadersPolicyStrictTransportSecurity strictTransportSecurity)
Determines whether CloudFront includes the
Strict-Transport-Security HTTP response header and
the header’s value. |
default ResponseHeadersPolicySecurityHeadersConfig.Builder |
xssProtection(Consumer<ResponseHeadersPolicyXSSProtection.Builder> xssProtection)
Determines whether CloudFront includes the
X-XSS-Protection HTTP response header and the
header’s value. |
ResponseHeadersPolicySecurityHeadersConfig.Builder |
xssProtection(ResponseHeadersPolicyXSSProtection xssProtection)
Determines whether CloudFront includes the
X-XSS-Protection HTTP response header and the
header’s value. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildResponseHeadersPolicySecurityHeadersConfig.Builder xssProtection(ResponseHeadersPolicyXSSProtection xssProtection)
Determines whether CloudFront includes the X-XSS-Protection HTTP response header and the
header’s value.
For more information about the X-XSS-Protection HTTP response header, see X-XSS-Protection in the
MDN Web Docs.
xssProtection - Determines whether CloudFront includes the X-XSS-Protection HTTP response header and the
header’s value.
For more information about the X-XSS-Protection HTTP response header, see X-XSS-Protection
in the MDN Web Docs.
default ResponseHeadersPolicySecurityHeadersConfig.Builder xssProtection(Consumer<ResponseHeadersPolicyXSSProtection.Builder> xssProtection)
Determines whether CloudFront includes the X-XSS-Protection HTTP response header and the
header’s value.
For more information about the X-XSS-Protection HTTP response header, see X-XSS-Protection in the
MDN Web Docs.
ResponseHeadersPolicyXSSProtection.Builder
avoiding the need to create one manually via ResponseHeadersPolicyXSSProtection.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to xssProtection(ResponseHeadersPolicyXSSProtection).xssProtection - a consumer that will call methods on ResponseHeadersPolicyXSSProtection.BuilderxssProtection(ResponseHeadersPolicyXSSProtection)ResponseHeadersPolicySecurityHeadersConfig.Builder frameOptions(ResponseHeadersPolicyFrameOptions frameOptions)
Determines whether CloudFront includes the X-Frame-Options HTTP response header and the header’s
value.
For more information about the X-Frame-Options HTTP response header, see X-Frame-Options in the
MDN Web Docs.
frameOptions - Determines whether CloudFront includes the X-Frame-Options HTTP response header and the
header’s value.
For more information about the X-Frame-Options HTTP response header, see X-Frame-Options
in the MDN Web Docs.
default ResponseHeadersPolicySecurityHeadersConfig.Builder frameOptions(Consumer<ResponseHeadersPolicyFrameOptions.Builder> frameOptions)
Determines whether CloudFront includes the X-Frame-Options HTTP response header and the header’s
value.
For more information about the X-Frame-Options HTTP response header, see X-Frame-Options in the
MDN Web Docs.
ResponseHeadersPolicyFrameOptions.Builder
avoiding the need to create one manually via ResponseHeadersPolicyFrameOptions.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to frameOptions(ResponseHeadersPolicyFrameOptions).frameOptions - a consumer that will call methods on ResponseHeadersPolicyFrameOptions.BuilderframeOptions(ResponseHeadersPolicyFrameOptions)ResponseHeadersPolicySecurityHeadersConfig.Builder referrerPolicy(ResponseHeadersPolicyReferrerPolicy referrerPolicy)
Determines whether CloudFront includes the Referrer-Policy HTTP response header and the header’s
value.
For more information about the Referrer-Policy HTTP response header, see Referrer-Policy in the
MDN Web Docs.
referrerPolicy - Determines whether CloudFront includes the Referrer-Policy HTTP response header and the
header’s value.
For more information about the Referrer-Policy HTTP response header, see Referrer-Policy
in the MDN Web Docs.
default ResponseHeadersPolicySecurityHeadersConfig.Builder referrerPolicy(Consumer<ResponseHeadersPolicyReferrerPolicy.Builder> referrerPolicy)
Determines whether CloudFront includes the Referrer-Policy HTTP response header and the header’s
value.
For more information about the Referrer-Policy HTTP response header, see Referrer-Policy in the
MDN Web Docs.
ResponseHeadersPolicyReferrerPolicy.Builder
avoiding the need to create one manually via ResponseHeadersPolicyReferrerPolicy.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to referrerPolicy(ResponseHeadersPolicyReferrerPolicy).referrerPolicy - a consumer that will call methods on ResponseHeadersPolicyReferrerPolicy.BuilderreferrerPolicy(ResponseHeadersPolicyReferrerPolicy)ResponseHeadersPolicySecurityHeadersConfig.Builder contentSecurityPolicy(ResponseHeadersPolicyContentSecurityPolicy contentSecurityPolicy)
The policy directives and their values that CloudFront includes as values for the
Content-Security-Policy HTTP response header.
For more information about the Content-Security-Policy HTTP response header, see Content-Security-Policy in the MDN Web Docs.
contentSecurityPolicy - The policy directives and their values that CloudFront includes as values for the
Content-Security-Policy HTTP response header.
For more information about the Content-Security-Policy HTTP response header, see Content-Security-Policy in the MDN Web Docs.
default ResponseHeadersPolicySecurityHeadersConfig.Builder contentSecurityPolicy(Consumer<ResponseHeadersPolicyContentSecurityPolicy.Builder> contentSecurityPolicy)
The policy directives and their values that CloudFront includes as values for the
Content-Security-Policy HTTP response header.
For more information about the Content-Security-Policy HTTP response header, see Content-Security-Policy in the MDN Web Docs.
ResponseHeadersPolicyContentSecurityPolicy.Builder avoiding the need to create one manually via
ResponseHeadersPolicyContentSecurityPolicy.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to
contentSecurityPolicy(ResponseHeadersPolicyContentSecurityPolicy).contentSecurityPolicy - a consumer that will call methods on ResponseHeadersPolicyContentSecurityPolicy.BuildercontentSecurityPolicy(ResponseHeadersPolicyContentSecurityPolicy)ResponseHeadersPolicySecurityHeadersConfig.Builder contentTypeOptions(ResponseHeadersPolicyContentTypeOptions contentTypeOptions)
Determines whether CloudFront includes the X-Content-Type-Options HTTP response header with its
value set to nosniff.
For more information about the X-Content-Type-Options HTTP response header, see X-Content-Type-Options in the MDN Web Docs.
contentTypeOptions - Determines whether CloudFront includes the X-Content-Type-Options HTTP response header
with its value set to nosniff.
For more information about the X-Content-Type-Options HTTP response header, see X-Content-Type-Options in the MDN Web Docs.
default ResponseHeadersPolicySecurityHeadersConfig.Builder contentTypeOptions(Consumer<ResponseHeadersPolicyContentTypeOptions.Builder> contentTypeOptions)
Determines whether CloudFront includes the X-Content-Type-Options HTTP response header with its
value set to nosniff.
For more information about the X-Content-Type-Options HTTP response header, see X-Content-Type-Options in the MDN Web Docs.
ResponseHeadersPolicyContentTypeOptions.Builder
avoiding the need to create one manually via ResponseHeadersPolicyContentTypeOptions.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to
contentTypeOptions(ResponseHeadersPolicyContentTypeOptions).contentTypeOptions - a consumer that will call methods on ResponseHeadersPolicyContentTypeOptions.BuildercontentTypeOptions(ResponseHeadersPolicyContentTypeOptions)ResponseHeadersPolicySecurityHeadersConfig.Builder strictTransportSecurity(ResponseHeadersPolicyStrictTransportSecurity strictTransportSecurity)
Determines whether CloudFront includes the Strict-Transport-Security HTTP response header and
the header’s value.
For more information about the Strict-Transport-Security HTTP response header, see Strict-Transport-Security in the MDN Web Docs.
strictTransportSecurity - Determines whether CloudFront includes the Strict-Transport-Security HTTP response header
and the header’s value.
For more information about the Strict-Transport-Security HTTP response header, see Strict-
Transport-Security in the MDN Web Docs.
default ResponseHeadersPolicySecurityHeadersConfig.Builder strictTransportSecurity(Consumer<ResponseHeadersPolicyStrictTransportSecurity.Builder> strictTransportSecurity)
Determines whether CloudFront includes the Strict-Transport-Security HTTP response header and
the header’s value.
For more information about the Strict-Transport-Security HTTP response header, see Strict-Transport-Security in the MDN Web Docs.
ResponseHeadersPolicyStrictTransportSecurity.Builder avoiding the need to create one manually via
ResponseHeadersPolicyStrictTransportSecurity.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to
strictTransportSecurity(ResponseHeadersPolicyStrictTransportSecurity).strictTransportSecurity - a consumer that will call methods on ResponseHeadersPolicyStrictTransportSecurity.BuilderstrictTransportSecurity(ResponseHeadersPolicyStrictTransportSecurity)Copyright © 2021. All rights reserved.