Class ListCustomAlertRule
java.lang.Object
com.azure.resourcemanager.security.models.CustomAlertRule
com.azure.resourcemanager.security.models.ListCustomAlertRule
- Direct Known Subclasses:
AllowlistCustomAlertRule
,DenylistCustomAlertRule
A List custom alert rule.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Validates the instance.Get the valueType property: The value type of the items in the list.withIsEnabled
(boolean isEnabled) Set the isEnabled property: Status of the custom alert.Methods inherited from class com.azure.resourcemanager.security.models.CustomAlertRule
description, displayName, isEnabled
-
Constructor Details
-
ListCustomAlertRule
public ListCustomAlertRule()
-
-
Method Details
-
valueType
Get the valueType property: The value type of the items in the list.- Returns:
- the valueType value.
-
withIsEnabled
Set the isEnabled property: Status of the custom alert.- Overrides:
withIsEnabled
in classCustomAlertRule
- Parameters:
isEnabled
- the isEnabled value to set.- Returns:
- the CustomAlertRule object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classCustomAlertRule
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-