| Package | Description |
|---|---|
| software.amazon.awssdk.services.wafv2.model |
| Modifier and Type | Method and Description |
|---|---|
static CustomResponse.Builder |
CustomResponse.builder() |
CustomResponse.Builder |
CustomResponse.Builder.customResponseBodyKey(String customResponseBodyKey)
References the response body that you want WAF to return to the web request client.
|
CustomResponse.Builder |
CustomResponse.Builder.responseCode(Integer responseCode)
The HTTP status code to return to the client.
|
CustomResponse.Builder |
CustomResponse.Builder.responseHeaders(Collection<CustomHTTPHeader> responseHeaders)
The HTTP headers to use in the response.
|
CustomResponse.Builder |
CustomResponse.Builder.responseHeaders(Consumer<CustomHTTPHeader.Builder>... responseHeaders)
The HTTP headers to use in the response.
|
CustomResponse.Builder |
CustomResponse.Builder.responseHeaders(CustomHTTPHeader... responseHeaders)
The HTTP headers to use in the response.
|
CustomResponse.Builder |
CustomResponse.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends CustomResponse.Builder> |
CustomResponse.serializableBuilderClass() |
| Modifier and Type | Method and Description |
|---|---|
default BlockAction.Builder |
BlockAction.Builder.customResponse(Consumer<CustomResponse.Builder> customResponse)
Defines a custom response for the web request.
|
Copyright © 2023. All rights reserved.