FailedLocalLoginsNotInAllowedRange Class

public final class FailedLocalLoginsNotInAllowedRange
extends TimeWindowCustomAlertRule

Number of failed local logins is not in allowed range.

Constructor Summary

Constructor Description
FailedLocalLoginsNotInAllowedRange()

Creates an instance of FailedLocalLoginsNotInAllowedRange class.

Method Summary

Modifier and Type Method and Description
void validate()

Validates the instance.

FailedLocalLoginsNotInAllowedRange withIsEnabled(boolean isEnabled)

Set the isEnabled property: Status of the custom alert.

FailedLocalLoginsNotInAllowedRange withMaxThreshold(int maxThreshold)

Set the maxThreshold property: The maximum threshold.

FailedLocalLoginsNotInAllowedRange withMinThreshold(int minThreshold)

Set the minThreshold property: The minimum threshold.

FailedLocalLoginsNotInAllowedRange withTimeWindowSize(Duration timeWindowSize)

Set the timeWindowSize property: The time window size in iso8601 format.

Methods inherited from CustomAlertRule

Methods inherited from ThresholdCustomAlertRule

Methods inherited from TimeWindowCustomAlertRule

Methods inherited from java.lang.Object

Constructor Details

FailedLocalLoginsNotInAllowedRange

public FailedLocalLoginsNotInAllowedRange()

Creates an instance of FailedLocalLoginsNotInAllowedRange class.

Method Details

validate

public void validate()

Validates the instance.

Overrides:

FailedLocalLoginsNotInAllowedRange.validate()

withIsEnabled

public FailedLocalLoginsNotInAllowedRange withIsEnabled(boolean isEnabled)

Set the isEnabled property: Status of the custom alert.

Overrides:

FailedLocalLoginsNotInAllowedRange.withIsEnabled(boolean isEnabled)

Parameters:

isEnabled

withMaxThreshold

public FailedLocalLoginsNotInAllowedRange withMaxThreshold(int maxThreshold)

Set the maxThreshold property: The maximum threshold.

Overrides:

FailedLocalLoginsNotInAllowedRange.withMaxThreshold(int maxThreshold)

Parameters:

maxThreshold

withMinThreshold

public FailedLocalLoginsNotInAllowedRange withMinThreshold(int minThreshold)

Set the minThreshold property: The minimum threshold.

Overrides:

FailedLocalLoginsNotInAllowedRange.withMinThreshold(int minThreshold)

Parameters:

minThreshold

withTimeWindowSize

public FailedLocalLoginsNotInAllowedRange withTimeWindowSize(Duration timeWindowSize)

Set the timeWindowSize property: The time window size in iso8601 format.

Overrides:

FailedLocalLoginsNotInAllowedRange.withTimeWindowSize(Duration timeWindowSize)

Parameters:

timeWindowSize

Applies to