Interface CustomResponseBody.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CustomResponseBody.Builder,CustomResponseBody>,SdkBuilder<CustomResponseBody.Builder,CustomResponseBody>,SdkPojo
- Enclosing class:
- CustomResponseBody
public static interface CustomResponseBody.Builder extends SdkPojo, CopyableBuilder<CustomResponseBody.Builder,CustomResponseBody>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CustomResponseBody.Buildercontent(String content)The payload of the custom response.CustomResponseBody.BuildercontentType(String contentType)The type of content in the payload that you are defining in theContentstring.CustomResponseBody.BuildercontentType(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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
contentType
CustomResponseBody.Builder contentType(String 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:
ResponseContentType,ResponseContentType
-
contentType
CustomResponseBody.Builder contentType(ResponseContentType 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:
ResponseContentType,ResponseContentType
-
content
CustomResponseBody.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
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.
-
-