Class AlertModificationProperties
java.lang.Object
com.azure.resourcemanager.alertsmanagement.models.AlertModificationProperties
Properties of the alert modification item.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalertId()
Get the alertId property: Unique Id of the alert for which the history is being retrieved.Get the modifications property: Modification details.void
validate()
Validates the instance.withModifications
(List<AlertModificationItem> modifications) Set the modifications property: Modification details.
-
Constructor Details
-
AlertModificationProperties
public AlertModificationProperties()
-
-
Method Details
-
alertId
Get the alertId property: Unique Id of the alert for which the history is being retrieved.- Returns:
- the alertId value.
-
modifications
Get the modifications property: Modification details.- Returns:
- the modifications value.
-
withModifications
Set the modifications property: Modification details.- Parameters:
modifications
- the modifications value to set.- Returns:
- the AlertModificationProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-