DenylistCustomAlertRule Class

public final class DenylistCustomAlertRule
extends ListCustomAlertRule

A custom alert rule that checks if a value (depends on the custom alert type) is denied.

Constructor Summary

Constructor Description
DenylistCustomAlertRule()

Creates an instance of DenylistCustomAlertRule class.

Method Summary

Modifier and Type Method and Description
List<String> denylistValues()

Get the denylistValues property: The values to deny.

void validate()

Validates the instance.

DenylistCustomAlertRule withDenylistValues(List<String> denylistValues)

Set the denylistValues property: The values to deny.

DenylistCustomAlertRule withIsEnabled(boolean isEnabled)

Set the isEnabled property: Status of the custom alert.

Methods inherited from CustomAlertRule

Methods inherited from ListCustomAlertRule

Methods inherited from java.lang.Object

Constructor Details

DenylistCustomAlertRule

public DenylistCustomAlertRule()

Creates an instance of DenylistCustomAlertRule class.

Method Details

denylistValues

public List denylistValues()

Get the denylistValues property: The values to deny. The format of the values depends on the rule type.

Returns:

the denylistValues value.

validate

public void validate()

Validates the instance.

Overrides:

DenylistCustomAlertRule.validate()

withDenylistValues

public DenylistCustomAlertRule withDenylistValues(List denylistValues)

Set the denylistValues property: The values to deny. The format of the values depends on the rule type.

Parameters:

denylistValues - the denylistValues value to set.

Returns:

the DenylistCustomAlertRule object itself.

withIsEnabled

public DenylistCustomAlertRule withIsEnabled(boolean isEnabled)

Set the isEnabled property: Status of the custom alert.

Overrides:

DenylistCustomAlertRule.withIsEnabled(boolean isEnabled)

Parameters:

isEnabled

Applies to