Interface CustomResponseBody.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CustomResponseBody.Builder,
,CustomResponseBody> SdkBuilder<CustomResponseBody.Builder,
,CustomResponseBody> SdkPojo
- Enclosing class:
CustomResponseBody
-
Method Summary
Modifier and TypeMethodDescriptionThe payload of the custom response.contentType
(String contentType) The type of content in the payload that you are defining in theContent
string.contentType
(ResponseContentType contentType) The type of content in the payload that you are defining in theContent
string.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
contentType
The type of content in the payload that you are defining in the
Content
string.- Parameters:
contentType
- The type of content in the payload that you are defining in theContent
string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contentType
The type of content in the payload that you are defining in the
Content
string.- Parameters:
contentType
- The type of content in the payload that you are defining in theContent
string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-