@Generated(value="software.amazon.awssdk:codegen") public final class ResponseHeadersPolicyContentSecurityPolicy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResponseHeadersPolicyContentSecurityPolicy.Builder,ResponseHeadersPolicyContentSecurityPolicy>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ResponseHeadersPolicyContentSecurityPolicy.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ResponseHeadersPolicyContentSecurityPolicy.Builder |
builder() |
String |
contentSecurityPolicy()
The policy directives and their values that CloudFront includes as values for the
Content-Security-Policy HTTP response header. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
override()
A Boolean that determines whether CloudFront overrides the
Content-Security-Policy HTTP response
header received from the origin with the one specified in this response headers policy. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ResponseHeadersPolicyContentSecurityPolicy.Builder> |
serializableBuilderClass() |
ResponseHeadersPolicyContentSecurityPolicy.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Boolean override()
A Boolean that determines whether CloudFront overrides the Content-Security-Policy HTTP response
header received from the origin with the one specified in this response headers policy.
Content-Security-Policy HTTP
response header received from the origin with the one specified in this response headers policy.public final String contentSecurityPolicy()
The policy directives and their values that CloudFront includes as values for the
Content-Security-Policy HTTP response header.
Content-Security-Policy HTTP response header.public ResponseHeadersPolicyContentSecurityPolicy.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ResponseHeadersPolicyContentSecurityPolicy.Builder,ResponseHeadersPolicyContentSecurityPolicy>public static ResponseHeadersPolicyContentSecurityPolicy.Builder builder()
public static Class<? extends ResponseHeadersPolicyContentSecurityPolicy.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.