Class AlertModificationProperties

java.lang.Object
com.azure.resourcemanager.alertsmanagement.models.AlertModificationProperties

public final class AlertModificationProperties extends Object
Properties of the alert modification item.
  • Constructor Details

    • AlertModificationProperties

      public AlertModificationProperties()
  • Method Details

    • alertId

      public String alertId()
      Get the alertId property: Unique Id of the alert for which the history is being retrieved.
      Returns:
      the alertId value.
    • modifications

      public List<AlertModificationItem> modifications()
      Get the modifications property: Modification details.
      Returns:
      the modifications value.
    • withModifications

      public AlertModificationProperties withModifications(List<AlertModificationItem> modifications)
      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.