Class DeviceFingerprintChallenge


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20181116")
    public final class DeviceFingerprintChallenge
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    The 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 the DeviceFingerprintChallenge.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 the DeviceFingerprintChallenge.Builder, which maintain a set of all explicitly set fields called DeviceFingerprintChallenge.Builder.__explicitlySet__. The hashCode() and equals(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).

    • Method Detail

      • 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
      • toString

        public String toString()
        Overrides:
        toString in class com.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:
        equals in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel