Class AlertRuleResourceCollection

java.lang.Object
com.azure.resourcemanager.monitor.models.AlertRuleResourceCollection

public final class AlertRuleResourceCollection extends Object
Represents a collection of alert rule resources.
  • Constructor Details

    • AlertRuleResourceCollection

      public AlertRuleResourceCollection()
      Creates an instance of AlertRuleResourceCollection class.
  • Method Details

    • value

      public List<AlertRuleResourceInner> value()
      Get the value property: the values for the alert rule resources.
      Returns:
      the value value.
    • withValue

      Set the value property: the values for the alert rule resources.
      Parameters:
      value - the value value to set.
      Returns:
      the AlertRuleResourceCollection object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.