public static final class ResponseHeadersXSSProtection.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ResponseHeadersXSSProtection
ResponseHeadersXSSProtection
ResponseHeadersXSSProtection.Builder, ResponseHeadersXSSProtection.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.Boolean |
getModeBlock()
A Boolean that determines whether CloudFront includes the mode=block directive in the X-XSS-Protection header.
|
java.lang.Boolean |
getOverride()
A Boolean that determines whether CloudFront overrides the X-XSS-Protection HTTP response header received from the origin with the one specified in this response headers policy.
|
java.lang.Boolean |
getProtection()
A Boolean that determines the value of the X-XSS-Protection HTTP response header.
|
java.lang.String |
getReportUri()
A reporting URI, which CloudFront uses as the value of the report directive in the X-XSS-Protection header.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.Boolean getOverride()
ResponseHeadersXSSProtection
getOverride
in interface ResponseHeadersXSSProtection
public final java.lang.Boolean getProtection()
ResponseHeadersXSSProtection
When this setting is true, the value of the X-XSS-Protection header is 1. When this setting is false, the value of the X-XSS-Protection header is 0.
getProtection
in interface ResponseHeadersXSSProtection
public final java.lang.Boolean getModeBlock()
ResponseHeadersXSSProtection
Default: false
getModeBlock
in interface ResponseHeadersXSSProtection
public final java.lang.String getReportUri()
ResponseHeadersXSSProtection
You cannot specify a ReportUri when ModeBlock is true.
Default: - no report uri
getReportUri
in interface ResponseHeadersXSSProtection
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()