Class ProcessNotAllowed
java.lang.Object
com.azure.resourcemanager.security.models.CustomAlertRule
com.azure.resourcemanager.security.models.ListCustomAlertRule
com.azure.resourcemanager.security.models.AllowlistCustomAlertRule
com.azure.resourcemanager.security.models.ProcessNotAllowed
Execution of a process that isn't allowed. Allow list consists of process names to allow.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Validates the instance.withAllowlistValues
(List<String> allowlistValues) Set the allowlistValues property: The values to allow.withIsEnabled
(boolean isEnabled) Set the isEnabled property: Status of the custom alert.Methods inherited from class com.azure.resourcemanager.security.models.AllowlistCustomAlertRule
allowlistValues
Methods inherited from class com.azure.resourcemanager.security.models.ListCustomAlertRule
valueType
Methods inherited from class com.azure.resourcemanager.security.models.CustomAlertRule
description, displayName, isEnabled
-
Constructor Details
-
ProcessNotAllowed
public ProcessNotAllowed()
-
-
Method Details
-
withAllowlistValues
Set the allowlistValues property: The values to allow. The format of the values depends on the rule type.- Overrides:
withAllowlistValues
in classAllowlistCustomAlertRule
- Parameters:
allowlistValues
- the allowlistValues value to set.- Returns:
- the AllowlistCustomAlertRule object itself.
-
withIsEnabled
Set the isEnabled property: Status of the custom alert.- Overrides:
withIsEnabled
in classAllowlistCustomAlertRule
- Parameters:
isEnabled
- the isEnabled value to set.- Returns:
- the CustomAlertRule object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classAllowlistCustomAlertRule
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-