Class MetricAlertSingleResourceMultipleMetricCriteria
java.lang.Object
com.azure.resourcemanager.monitor.models.MetricAlertCriteria
com.azure.resourcemanager.monitor.models.MetricAlertSingleResourceMultipleMetricCriteria
Specifies the metric alert criteria for a single resource that has multiple metric criteria.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MetricAlertSingleResourceMultipleMetricCriteria class. -
Method Summary
Modifier and TypeMethodDescriptionallOf()Get the allOf property: The list of metric criteria for this 'all of' operation.voidvalidate()Validates the instance.withAllOf(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
-
Constructor Details
-
MetricAlertSingleResourceMultipleMetricCriteria
public MetricAlertSingleResourceMultipleMetricCriteria()Creates an instance of MetricAlertSingleResourceMultipleMetricCriteria class.
-
-
Method Details
-
allOf
Get the allOf property: The list of metric criteria for this 'all of' operation.- Returns:
- the allOf value.
-
withAllOf
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.
-