public static class DeviceFingerprintChallenge.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DeviceFingerprintChallenge.Builder |
action(DeviceFingerprintChallenge.Action action)
The action to take on requests from detected bots.
|
DeviceFingerprintChallenge.Builder |
actionExpirationInSeconds(Integer actionExpirationInSeconds)
The number of seconds between challenges for the same IP address.
|
DeviceFingerprintChallenge |
build() |
DeviceFingerprintChallenge.Builder |
challengeSettings(BlockChallengeSettings challengeSettings) |
DeviceFingerprintChallenge.Builder |
copy(DeviceFingerprintChallenge model) |
DeviceFingerprintChallenge.Builder |
failureThreshold(Integer failureThreshold)
The number of failed requests allowed before taking action.
|
DeviceFingerprintChallenge.Builder |
failureThresholdExpirationInSeconds(Integer failureThresholdExpirationInSeconds)
The number of seconds before the failure threshold resets.
|
DeviceFingerprintChallenge.Builder |
isEnabled(Boolean isEnabled)
Enables or disables the device fingerprint challenge Web Application Firewall feature.
|
DeviceFingerprintChallenge.Builder |
maxAddressCount(Integer maxAddressCount)
The maximum number of IP addresses permitted with the same device fingerprint.
|
DeviceFingerprintChallenge.Builder |
maxAddressCountExpirationInSeconds(Integer maxAddressCountExpirationInSeconds)
The number of seconds before the maximum addresses count resets.
|
public DeviceFingerprintChallenge.Builder isEnabled(Boolean isEnabled)
Enables or disables the device fingerprint challenge Web Application Firewall feature.
isEnabled
- the value to setpublic DeviceFingerprintChallenge.Builder action(DeviceFingerprintChallenge.Action action)
The action to take on requests from detected bots. If unspecified, defaults to DETECT
.
action
- the value to setpublic DeviceFingerprintChallenge.Builder failureThreshold(Integer failureThreshold)
The number of failed requests allowed before taking action. If unspecified, defaults to
10
.
failureThreshold
- the value to setpublic DeviceFingerprintChallenge.Builder actionExpirationInSeconds(Integer actionExpirationInSeconds)
The number of seconds between challenges for the same IP address. If unspecified,
defaults to 60
.
actionExpirationInSeconds
- the value to setpublic DeviceFingerprintChallenge.Builder failureThresholdExpirationInSeconds(Integer failureThresholdExpirationInSeconds)
The number of seconds before the failure threshold resets. If unspecified, defaults to
60
.
failureThresholdExpirationInSeconds
- the value to setpublic DeviceFingerprintChallenge.Builder maxAddressCount(Integer maxAddressCount)
The maximum number of IP addresses permitted with the same device fingerprint. If
unspecified, defaults to 20
.
maxAddressCount
- the value to setpublic DeviceFingerprintChallenge.Builder maxAddressCountExpirationInSeconds(Integer maxAddressCountExpirationInSeconds)
The number of seconds before the maximum addresses count resets. If unspecified, defaults
to 60
.
maxAddressCountExpirationInSeconds
- the value to setpublic DeviceFingerprintChallenge.Builder challengeSettings(BlockChallengeSettings challengeSettings)
public DeviceFingerprintChallenge build()
public DeviceFingerprintChallenge.Builder copy(DeviceFingerprintChallenge model)
Copyright © 2016–2024. All rights reserved.