ProtectionSettings.Builder |
ProtectionSettings.Builder.allowedHttpMethods(List<ProtectionSettings.AllowedHttpMethods> allowedHttpMethods) |
The list of allowed HTTP methods.
|
ProtectionSettings.Builder |
ProtectionSettings.Builder.blockAction(ProtectionSettings.BlockAction blockAction) |
If action is set to BLOCK, this specifies how the traffic is blocked when
detected as malicious by a protection rule.
|
ProtectionSettings.Builder |
ProtectionSettings.Builder.blockErrorPageCode(String blockErrorPageCode) |
The error code to show on the error page when action is set to BLOCK,
blockAction is set to SHOW_ERROR_PAGE, and the traffic is detected as
malicious by a protection rule.
|
ProtectionSettings.Builder |
ProtectionSettings.Builder.blockErrorPageDescription(String blockErrorPageDescription) |
The description text to show on the error page when action is set to
BLOCK, blockAction is set to SHOW_ERROR_PAGE, and the traffic is
detected as malicious by a protection rule.
|
ProtectionSettings.Builder |
ProtectionSettings.Builder.blockErrorPageMessage(String blockErrorPageMessage) |
The message to show on the error page when action is set to BLOCK,
blockAction is set to SHOW_ERROR_PAGE, and the traffic is detected as malicious
by a protection rule.
|
ProtectionSettings.Builder |
ProtectionSettings.Builder.blockResponseCode(Integer blockResponseCode) |
The response code returned when action is set to BLOCK,
blockAction is set to SET_RESPONSE_CODE, and the traffic is detected as
malicious by a protection rule.
|
static ProtectionSettings.Builder |
ProtectionSettings.builder() |
Create a new builder.
|
ProtectionSettings.Builder |
ProtectionSettings.Builder.copy(ProtectionSettings model) |
|
ProtectionSettings.Builder |
ProtectionSettings.Builder.isResponseInspected(Boolean isResponseInspected) |
Inspects the response body of origin responses.
|
ProtectionSettings.Builder |
ProtectionSettings.Builder.maxArgumentCount(Integer maxArgumentCount) |
The maximum number of arguments allowed to be passed to your application before an action
is taken.
|
ProtectionSettings.Builder |
ProtectionSettings.Builder.maxNameLengthPerArgument(Integer maxNameLengthPerArgument) |
The maximum length allowed for each argument name, in characters.
|
ProtectionSettings.Builder |
ProtectionSettings.Builder.maxResponseSizeInKiB(Integer maxResponseSizeInKiB) |
The maximum response size to be fully inspected, in binary kilobytes (KiB).
|
ProtectionSettings.Builder |
ProtectionSettings.Builder.maxTotalNameLengthOfArguments(Integer maxTotalNameLengthOfArguments) |
The maximum length allowed for the sum of the argument name and value, in characters.
|
ProtectionSettings.Builder |
ProtectionSettings.Builder.mediaTypes(List<String> mediaTypes) |
The list of media types to allow for inspection, if isResponseInspected is
enabled.
|
ProtectionSettings.Builder |
ProtectionSettings.Builder.recommendationsPeriodInDays(Integer recommendationsPeriodInDays) |
The length of time to analyze traffic traffic, in days.
|
ProtectionSettings.Builder |
ProtectionSettings.toBuilder() |
|