Interface ResponseHeadersPolicyContentSecurityPolicy.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ResponseHeadersPolicyContentSecurityPolicy.Builder,ResponseHeadersPolicyContentSecurityPolicy>,SdkBuilder<ResponseHeadersPolicyContentSecurityPolicy.Builder,ResponseHeadersPolicyContentSecurityPolicy>,SdkPojo
- Enclosing class:
- ResponseHeadersPolicyContentSecurityPolicy
@Mutable @NotThreadSafe public static interface ResponseHeadersPolicyContentSecurityPolicy.Builder extends SdkPojo, CopyableBuilder<ResponseHeadersPolicyContentSecurityPolicy.Builder,ResponseHeadersPolicyContentSecurityPolicy>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResponseHeadersPolicyContentSecurityPolicy.BuildercontentSecurityPolicy(String contentSecurityPolicy)The policy directives and their values that CloudFront includes as values for theContent-Security-PolicyHTTP response header.ResponseHeadersPolicyContentSecurityPolicy.Builderoverride(Boolean 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.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
override
ResponseHeadersPolicyContentSecurityPolicy.Builder override(Boolean 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.
-
-