Class PatchObject
java.lang.Object
com.azure.resourcemanager.alertsmanagement.models.PatchObject
Data contract for patch.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionenabled()
Get the enabled property: Indicates if the given alert processing rule is enabled or disabled.tags()
Get the tags property: Tags to be updated.void
validate()
Validates the instance.withEnabled
(Boolean enabled) Set the enabled property: Indicates if the given alert processing rule is enabled or disabled.Set the tags property: Tags to be updated.
-
Constructor Details
-
PatchObject
public PatchObject()
-
-
Method Details
-
tags
Get the tags property: Tags to be updated.- Returns:
- the tags value.
-
withTags
Set the tags property: Tags to be updated.- Parameters:
tags
- the tags value to set.- Returns:
- the PatchObject object itself.
-
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 PatchObject object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-