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 Summary
Constructors Constructor Description AlertRuleResourceCollection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidate()Validates the instance.List<AlertRuleResourceInner>value()Get the value property: the values for the alert rule resources.AlertRuleResourceCollectionwithValue(List<AlertRuleResourceInner> value)Set the value property: the values for the alert rule resources.
-
-
-
Method Detail
-
value
public List<AlertRuleResourceInner> value()
Get the value property: the values for the alert rule resources.- Returns:
- the value value.
-
withValue
public AlertRuleResourceCollection withValue(List<AlertRuleResourceInner> value)
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.
-
-