@Stability(value=Stable) @Internal public static final class CfnWebACL.CustomResponseBodyProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnWebACL.CustomResponseBodyProperty
CfnWebACL.CustomResponseBodyPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnWebACL.CustomResponseBodyProperty.Builder, CfnWebACL.CustomResponseBodyProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnWebACL.CustomResponseBodyProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnWebACL.AllowActionProperty.Builder. |
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(Object o) |
String |
getContent()
The payload of the custom response.
|
String |
getContentType()
The type of content in the payload that you are defining in the `Content` string.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnWebACL.CustomResponseBodyProperty.Builder builder)
CfnWebACL.AllowActionProperty.Builder.public final 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.CustomResponseBodyPropertypublic final String getContentType()
CfnWebACL.CustomResponseBodyPropertygetContentType in interface CfnWebACL.CustomResponseBodyProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.