public static interface CustomResponseBody.Builder extends SdkPojo, CopyableBuilder<CustomResponseBody.Builder,CustomResponseBody>
| Modifier and Type | Method and Description |
|---|---|
CustomResponseBody.Builder |
content(String content)
The payload of the custom response.
|
CustomResponseBody.Builder |
contentType(ResponseContentType contentType)
The type of content in the payload that you are defining in the
Content string. |
CustomResponseBody.Builder |
contentType(String contentType)
The type of content in the payload that you are defining in the
Content string. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCustomResponseBody.Builder contentType(String contentType)
The type of content in the payload that you are defining in the Content string.
contentType - The type of content in the payload that you are defining in the Content string.ResponseContentType,
ResponseContentTypeCustomResponseBody.Builder contentType(ResponseContentType contentType)
The type of content in the payload that you are defining in the Content string.
contentType - The type of content in the payload that you are defining in the Content string.ResponseContentType,
ResponseContentTypeCustomResponseBody.Builder content(String content)
The payload of the custom response.
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 WAF quotas in the WAF Developer Guide.
content - The payload of the custom response.
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 WAF quotas in the WAF Developer Guide.
Copyright © 2023. All rights reserved.