Class DeviceFingerprintChallenge
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.waas.model.DeviceFingerprintChallenge
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20181116") public final class DeviceFingerprintChallenge extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe device fingerprint challenge settings.The device fingerprint challenge generates hashed signatures of both virtual and real browsers to identify and block malicious bots.
Note: Objects should always be created or deserialized using theDeviceFingerprintChallenge.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theDeviceFingerprintChallenge.Builder, which maintain a set of all explicitly set fields calledDeviceFingerprintChallenge.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceFingerprintChallenge.ActionThe action to take on requests from detected bots.static classDeviceFingerprintChallenge.Builder
-
Constructor Summary
Constructors Constructor Description DeviceFingerprintChallenge(Boolean isEnabled, DeviceFingerprintChallenge.Action action, Integer failureThreshold, Integer actionExpirationInSeconds, Integer failureThresholdExpirationInSeconds, Integer maxAddressCount, Integer maxAddressCountExpirationInSeconds, BlockChallengeSettings challengeSettings)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceFingerprintChallenge.Builderbuilder()Create a new builder.booleanequals(Object o)DeviceFingerprintChallenge.ActiongetAction()The action to take on requests from detected bots.IntegergetActionExpirationInSeconds()The number of seconds between challenges for the same IP address.BlockChallengeSettingsgetChallengeSettings()IntegergetFailureThreshold()The number of failed requests allowed before taking action.IntegergetFailureThresholdExpirationInSeconds()The number of seconds before the failure threshold resets.BooleangetIsEnabled()Enables or disables the device fingerprint challenge Web Application Firewall feature.IntegergetMaxAddressCount()The maximum number of IP addresses permitted with the same device fingerprint.IntegergetMaxAddressCountExpirationInSeconds()The number of seconds before the maximum addresses count resets.inthashCode()DeviceFingerprintChallenge.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
DeviceFingerprintChallenge
@Deprecated @ConstructorProperties({"isEnabled","action","failureThreshold","actionExpirationInSeconds","failureThresholdExpirationInSeconds","maxAddressCount","maxAddressCountExpirationInSeconds","challengeSettings"}) public DeviceFingerprintChallenge(Boolean isEnabled, DeviceFingerprintChallenge.Action action, Integer failureThreshold, Integer actionExpirationInSeconds, Integer failureThresholdExpirationInSeconds, Integer maxAddressCount, Integer maxAddressCountExpirationInSeconds, BlockChallengeSettings challengeSettings)
Deprecated.
-
-
Method Detail
-
builder
public static DeviceFingerprintChallenge.Builder builder()
Create a new builder.
-
toBuilder
public DeviceFingerprintChallenge.Builder toBuilder()
-
getIsEnabled
public Boolean getIsEnabled()
Enables or disables the device fingerprint challenge Web Application Firewall feature.- Returns:
- the value
-
getAction
public DeviceFingerprintChallenge.Action getAction()
The action to take on requests from detected bots.If unspecified, defaults to DETECT.
- Returns:
- the value
-
getFailureThreshold
public Integer getFailureThreshold()
The number of failed requests allowed before taking action.If unspecified, defaults to 10.
- Returns:
- the value
-
getActionExpirationInSeconds
public Integer getActionExpirationInSeconds()
The number of seconds between challenges for the same IP address.If unspecified, defaults to 60.
- Returns:
- the value
-
getFailureThresholdExpirationInSeconds
public Integer getFailureThresholdExpirationInSeconds()
The number of seconds before the failure threshold resets.If unspecified, defaults to 60.
- Returns:
- the value
-
getMaxAddressCount
public Integer getMaxAddressCount()
The maximum number of IP addresses permitted with the same device fingerprint.If unspecified, defaults to 20.
- Returns:
- the value
-
getMaxAddressCountExpirationInSeconds
public Integer getMaxAddressCountExpirationInSeconds()
The number of seconds before the maximum addresses count resets.If unspecified, defaults to 60.
- Returns:
- the value
-
getChallengeSettings
public BlockChallengeSettings getChallengeSettings()
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-