FileUploadsNotInAllowedRange Class

public final class FileUploadsNotInAllowedRange
extends TimeWindowCustomAlertRule

Number of file uploads is not in allowed range.

Constructor Summary

Constructor Description
FileUploadsNotInAllowedRange()

Creates an instance of FileUploadsNotInAllowedRange class.

Method Summary

Modifier and Type Method and Description
void validate()

Validates the instance.

FileUploadsNotInAllowedRange withIsEnabled(boolean isEnabled)

Set the isEnabled property: Status of the custom alert.

FileUploadsNotInAllowedRange withMaxThreshold(int maxThreshold)

Set the maxThreshold property: The maximum threshold.

FileUploadsNotInAllowedRange withMinThreshold(int minThreshold)

Set the minThreshold property: The minimum threshold.

FileUploadsNotInAllowedRange 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

FileUploadsNotInAllowedRange

public FileUploadsNotInAllowedRange()

Creates an instance of FileUploadsNotInAllowedRange class.

Method Details

validate

public void validate()

Validates the instance.

Overrides:

FileUploadsNotInAllowedRange.validate()

withIsEnabled

public FileUploadsNotInAllowedRange withIsEnabled(boolean isEnabled)

Set the isEnabled property: Status of the custom alert.

Overrides:

FileUploadsNotInAllowedRange.withIsEnabled(boolean isEnabled)

Parameters:

isEnabled

withMaxThreshold

public FileUploadsNotInAllowedRange withMaxThreshold(int maxThreshold)

Set the maxThreshold property: The maximum threshold.

Overrides:

FileUploadsNotInAllowedRange.withMaxThreshold(int maxThreshold)

Parameters:

maxThreshold

withMinThreshold

public FileUploadsNotInAllowedRange withMinThreshold(int minThreshold)

Set the minThreshold property: The minimum threshold.

Overrides:

FileUploadsNotInAllowedRange.withMinThreshold(int minThreshold)

Parameters:

minThreshold

withTimeWindowSize

public FileUploadsNotInAllowedRange withTimeWindowSize(Duration timeWindowSize)

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

Overrides:

FileUploadsNotInAllowedRange.withTimeWindowSize(Duration timeWindowSize)

Parameters:

timeWindowSize

Applies to