public class MetricCriteria extends MultiMetricCriteria
| Constructor and Description |
|---|
MetricCriteria() |
| Modifier and Type | Method and Description |
|---|---|
Object |
operator()
Get the criteria operator.
|
double |
threshold()
Get the criteria threshold value that activates the alert.
|
MetricCriteria |
withOperator(Object operator)
Set the criteria operator.
|
MetricCriteria |
withThreshold(double threshold)
Set the criteria threshold value that activates the alert.
|
additionalProperties, dimensions, metricName, metricNamespace, name, timeAggregation, withAdditionalProperties, withDimensions, withMetricName, withMetricNamespace, withName, withTimeAggregationpublic Object operator()
public MetricCriteria withOperator(Object operator)
operator - the operator value to setpublic double threshold()
public MetricCriteria withThreshold(double threshold)
threshold - the threshold value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/