public static interface ResponseInspection.Builder extends SdkPojo, CopyableBuilder<ResponseInspection.Builder,ResponseInspection>
| Modifier and Type | Method and Description |
|---|---|
default ResponseInspection.Builder |
bodyContains(Consumer<ResponseInspectionBodyContains.Builder> bodyContains)
Configures inspection of the response body for success and failure indicators.
|
ResponseInspection.Builder |
bodyContains(ResponseInspectionBodyContains bodyContains)
Configures inspection of the response body for success and failure indicators.
|
default ResponseInspection.Builder |
header(Consumer<ResponseInspectionHeader.Builder> header)
Configures inspection of the response header for success and failure indicators.
|
ResponseInspection.Builder |
header(ResponseInspectionHeader header)
Configures inspection of the response header for success and failure indicators.
|
default ResponseInspection.Builder |
json(Consumer<ResponseInspectionJson.Builder> json)
Configures inspection of the response JSON for success and failure indicators.
|
ResponseInspection.Builder |
json(ResponseInspectionJson json)
Configures inspection of the response JSON for success and failure indicators.
|
default ResponseInspection.Builder |
statusCode(Consumer<ResponseInspectionStatusCode.Builder> statusCode)
Configures inspection of the response status code for success and failure indicators.
|
ResponseInspection.Builder |
statusCode(ResponseInspectionStatusCode statusCode)
Configures inspection of the response status code for success and failure indicators.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildResponseInspection.Builder statusCode(ResponseInspectionStatusCode statusCode)
Configures inspection of the response status code for success and failure indicators.
statusCode - Configures inspection of the response status code for success and failure indicators.default ResponseInspection.Builder statusCode(Consumer<ResponseInspectionStatusCode.Builder> statusCode)
Configures inspection of the response status code for success and failure indicators.
This is a convenience method that creates an instance of theResponseInspectionStatusCode.Builder
avoiding the need to create one manually via ResponseInspectionStatusCode.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to statusCode(ResponseInspectionStatusCode).
statusCode - a consumer that will call methods on ResponseInspectionStatusCode.BuilderstatusCode(ResponseInspectionStatusCode)ResponseInspection.Builder header(ResponseInspectionHeader header)
Configures inspection of the response header for success and failure indicators.
header - Configures inspection of the response header for success and failure indicators.default ResponseInspection.Builder header(Consumer<ResponseInspectionHeader.Builder> header)
Configures inspection of the response header for success and failure indicators.
This is a convenience method that creates an instance of theResponseInspectionHeader.Builder
avoiding the need to create one manually via ResponseInspectionHeader.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to header(ResponseInspectionHeader).
header - a consumer that will call methods on ResponseInspectionHeader.Builderheader(ResponseInspectionHeader)ResponseInspection.Builder bodyContains(ResponseInspectionBodyContains bodyContains)
Configures inspection of the response body for success and failure indicators. WAF can inspect the first 65,536 bytes (64 KB) of the response body.
bodyContains - Configures inspection of the response body for success and failure indicators. WAF can inspect the
first 65,536 bytes (64 KB) of the response body.default ResponseInspection.Builder bodyContains(Consumer<ResponseInspectionBodyContains.Builder> bodyContains)
Configures inspection of the response body for success and failure indicators. WAF can inspect the first 65,536 bytes (64 KB) of the response body.
This is a convenience method that creates an instance of theResponseInspectionBodyContains.Builder
avoiding the need to create one manually via ResponseInspectionBodyContains.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to bodyContains(ResponseInspectionBodyContains).
bodyContains - a consumer that will call methods on ResponseInspectionBodyContains.BuilderbodyContains(ResponseInspectionBodyContains)ResponseInspection.Builder json(ResponseInspectionJson json)
Configures inspection of the response JSON for success and failure indicators. WAF can inspect the first 65,536 bytes (64 KB) of the response JSON.
json - Configures inspection of the response JSON for success and failure indicators. WAF can inspect the
first 65,536 bytes (64 KB) of the response JSON.default ResponseInspection.Builder json(Consumer<ResponseInspectionJson.Builder> json)
Configures inspection of the response JSON for success and failure indicators. WAF can inspect the first 65,536 bytes (64 KB) of the response JSON.
This is a convenience method that creates an instance of theResponseInspectionJson.Builder avoiding
the need to create one manually via ResponseInspectionJson.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to json(ResponseInspectionJson).
json - a consumer that will call methods on ResponseInspectionJson.Builderjson(ResponseInspectionJson)Copyright © 2023. All rights reserved.