public static final class CfnResponseHeadersPolicy.ReferrerPolicyProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnResponseHeadersPolicy.ReferrerPolicyProperty
CfnResponseHeadersPolicy.ReferrerPolicyProperty
CfnResponseHeadersPolicy.ReferrerPolicyProperty.Builder, CfnResponseHeadersPolicy.ReferrerPolicyProperty.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.Object |
getOverride()
A Boolean that determines whether CloudFront overrides the `Referrer-Policy` HTTP response header received from the origin with the one specified in this response headers policy.
|
java.lang.String |
getReferrerPolicy()
The value of the `Referrer-Policy` HTTP response 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.Object getOverride()
CfnResponseHeadersPolicy.ReferrerPolicyProperty
getOverride
in interface CfnResponseHeadersPolicy.ReferrerPolicyProperty
public final java.lang.String getReferrerPolicy()
CfnResponseHeadersPolicy.ReferrerPolicyProperty
no-referrer
no-referrer-when-downgrade
origin
origin-when-cross-origin
same-origin
strict-origin
strict-origin-when-cross-origin
unsafe-url
For more information about these values, see Referrer-Policy in the MDN Web Docs.
getReferrerPolicy
in interface CfnResponseHeadersPolicy.ReferrerPolicyProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()