Class PatchProperties
java.lang.Object
com.azure.resourcemanager.alertsmanagement.fluent.models.PatchProperties
Alert processing rule properties supported by patch.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionenabled()
Get the enabled property: Indicates if the given alert processing rule is enabled or disabled.void
validate()
Validates the instance.withEnabled
(Boolean enabled) Set the enabled property: Indicates if the given alert processing rule is enabled or disabled.
-
Constructor Details
-
PatchProperties
public PatchProperties()
-
-
Method Details
-
enabled
Get the enabled property: Indicates if the given alert processing rule is enabled or disabled.- Returns:
- the enabled value.
-
withEnabled
Set the enabled property: Indicates if the given alert processing rule is enabled or disabled.- Parameters:
enabled
- the enabled value to set.- Returns:
- the PatchProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-