public static final class CfnWebACL.CustomResponseBodyProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnWebACL.CustomResponseBodyProperty
CfnWebACL.CustomResponseBodyProperty
CfnWebACL.CustomResponseBodyProperty.Builder, CfnWebACL.CustomResponseBodyProperty.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.String |
getContent()
The payload of the custom response.
|
java.lang.String |
getContentType()
The type of content in the payload that you are defining in the `Content` string.
|
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.String getContent()
CfnWebACL.CustomResponseBodyProperty
You can use JSON escape strings in JSON content. To do this, you must specify JSON content in the ContentType
setting.
For information about the limits on count and size for custom request and response settings, see AWS WAF quotas in the AWS WAF Developer Guide .
getContent
in interface CfnWebACL.CustomResponseBodyProperty
public final java.lang.String getContentType()
CfnWebACL.CustomResponseBodyProperty
getContentType
in interface CfnWebACL.CustomResponseBodyProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()