Class MetricAlertResourceCollection
- java.lang.Object
-
- com.azure.resourcemanager.monitor.models.MetricAlertResourceCollection
-
public final class MetricAlertResourceCollection extends Object
Represents a collection of alert rule resources.
-
-
Constructor Summary
Constructors Constructor Description MetricAlertResourceCollection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidate()Validates the instance.List<MetricAlertResourceInner>value()Get the value property: the values for the alert rule resources.MetricAlertResourceCollectionwithValue(List<MetricAlertResourceInner> value)Set the value property: the values for the alert rule resources.
-
-
-
Method Detail
-
value
public List<MetricAlertResourceInner> value()
Get the value property: the values for the alert rule resources.- Returns:
- the value value.
-
withValue
public MetricAlertResourceCollection withValue(List<MetricAlertResourceInner> value)
Set the value property: the values for the alert rule resources.- Parameters:
value- the value value to set.- Returns:
- the MetricAlertResourceCollection object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-