Interface ResponseHeadersPolicyContentSecurityPolicy.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ResponseHeadersPolicyContentSecurityPolicy.Builder,,ResponseHeadersPolicyContentSecurityPolicy> SdkBuilder<ResponseHeadersPolicyContentSecurityPolicy.Builder,,ResponseHeadersPolicyContentSecurityPolicy> SdkPojo
- Enclosing class:
ResponseHeadersPolicyContentSecurityPolicy
public static interface ResponseHeadersPolicyContentSecurityPolicy.Builder
extends SdkPojo, CopyableBuilder<ResponseHeadersPolicyContentSecurityPolicy.Builder,ResponseHeadersPolicyContentSecurityPolicy>
-
Method Summary
Modifier and TypeMethodDescriptioncontentSecurityPolicy(String contentSecurityPolicy) The policy directives and their values that CloudFront includes as values for theContent-Security-PolicyHTTP response header.A Boolean that determines whether CloudFront overrides theContent-Security-PolicyHTTP response header received from the origin with the one specified in this response headers policy.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
override
A Boolean that determines whether CloudFront overrides the
Content-Security-PolicyHTTP response header received from the origin with the one specified in this response headers policy.- Parameters:
override- A Boolean that determines whether CloudFront overrides theContent-Security-PolicyHTTP response header received from the origin with the one specified in this response headers policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentSecurityPolicy
ResponseHeadersPolicyContentSecurityPolicy.Builder contentSecurityPolicy(String contentSecurityPolicy) The policy directives and their values that CloudFront includes as values for the
Content-Security-PolicyHTTP response header.- Parameters:
contentSecurityPolicy- The policy directives and their values that CloudFront includes as values for theContent-Security-PolicyHTTP response header.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-