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 theContentstring.contentType(ResponseContentType contentType) The type of content in the payload that you are defining in theContentstring.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
contentType
The type of content in the payload that you are defining in the
Contentstring.- Parameters:
contentType- The type of content in the payload that you are defining in theContentstring.- 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
Contentstring.- Parameters:
contentType- The type of content in the payload that you are defining in theContentstring.- 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
ContentTypesetting.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
ContentTypesetting.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.
-