Class MetricAlertSingleResourceMultipleMetricCriteria
- java.lang.Object
-
- com.azure.resourcemanager.monitor.models.MetricAlertCriteria
-
- com.azure.resourcemanager.monitor.models.MetricAlertSingleResourceMultipleMetricCriteria
-
public class MetricAlertSingleResourceMultipleMetricCriteria extends MetricAlertCriteria
Specifies the metric alert criteria for a single resource that has multiple metric criteria.
-
-
Constructor Summary
Constructors Constructor Description MetricAlertSingleResourceMultipleMetricCriteria()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<MetricCriteria>allOf()Get the allOf property: The list of metric criteria for this 'all of' operation.voidvalidate()Validates the instance.MetricAlertSingleResourceMultipleMetricCriteriawithAllOf(List<MetricCriteria> allOf)Set the allOf property: The list of metric criteria for this 'all of' operation.-
Methods inherited from class com.azure.resourcemanager.monitor.models.MetricAlertCriteria
additionalProperties, withAdditionalProperties
-
-
-
-
Method Detail
-
allOf
public List<MetricCriteria> allOf()
Get the allOf property: The list of metric criteria for this 'all of' operation.- Returns:
- the allOf value.
-
withAllOf
public MetricAlertSingleResourceMultipleMetricCriteria withAllOf(List<MetricCriteria> allOf)
Set the allOf property: The list of metric criteria for this 'all of' operation.- Parameters:
allOf- the allOf value to set.- Returns:
- the MetricAlertSingleResourceMultipleMetricCriteria object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classMetricAlertCriteria- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-