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 SummaryNested Classes Modifier and Type Class Description static classDeviceFingerprintChallenge.ActionThe action to take on requests from detected bots.static classDeviceFingerprintChallenge.Builder
 - 
Constructor SummaryConstructors Constructor Description DeviceFingerprintChallenge(Boolean isEnabled, DeviceFingerprintChallenge.Action action, Integer failureThreshold, Integer actionExpirationInSeconds, Integer failureThresholdExpirationInSeconds, Integer maxAddressCount, Integer maxAddressCountExpirationInSeconds, BlockChallengeSettings challengeSettings)Deprecated.
 - 
Method SummaryAll 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- 
builderpublic static DeviceFingerprintChallenge.Builder builder() Create a new builder.
 - 
toBuilderpublic DeviceFingerprintChallenge.Builder toBuilder() 
 - 
getIsEnabledpublic Boolean getIsEnabled() Enables or disables the device fingerprint challenge Web Application Firewall feature.- Returns:
- the value
 
 - 
getActionpublic DeviceFingerprintChallenge.Action getAction() The action to take on requests from detected bots.If unspecified, defaults to DETECT. - Returns:
- the value
 
 - 
getFailureThresholdpublic Integer getFailureThreshold() The number of failed requests allowed before taking action.If unspecified, defaults to 10. - Returns:
- the value
 
 - 
getActionExpirationInSecondspublic Integer getActionExpirationInSeconds() The number of seconds between challenges for the same IP address.If unspecified, defaults to 60. - Returns:
- the value
 
 - 
getFailureThresholdExpirationInSecondspublic Integer getFailureThresholdExpirationInSeconds() The number of seconds before the failure threshold resets.If unspecified, defaults to 60. - Returns:
- the value
 
 - 
getMaxAddressCountpublic Integer getMaxAddressCount() The maximum number of IP addresses permitted with the same device fingerprint.If unspecified, defaults to 20. - Returns:
- the value
 
 - 
getMaxAddressCountExpirationInSecondspublic Integer getMaxAddressCountExpirationInSeconds() The number of seconds before the maximum addresses count resets.If unspecified, defaults to 60. - Returns:
- the value
 
 - 
getChallengeSettingspublic BlockChallengeSettings getChallengeSettings() 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-