public final class LogMetricTrigger extends Object
| Constructor and Description |
|---|
LogMetricTrigger() |
| Modifier and Type | Method and Description |
|---|---|
String |
metricColumn()
Get the metricColumn property: Evaluation of metric on a particular column.
|
MetricTriggerType |
metricTriggerType()
Get the metricTriggerType property: Metric Trigger Type - 'Consecutive' or 'Total'.
|
Double |
threshold()
Get the threshold property: The threshold of the metric trigger.
|
ConditionalOperator |
thresholdOperator()
Get the thresholdOperator property: Evaluation operation for Metric -'GreaterThan' or 'LessThan' or 'Equal'.
|
void |
validate()
Validates the instance.
|
LogMetricTrigger |
withMetricColumn(String metricColumn)
Set the metricColumn property: Evaluation of metric on a particular column.
|
LogMetricTrigger |
withMetricTriggerType(MetricTriggerType metricTriggerType)
Set the metricTriggerType property: Metric Trigger Type - 'Consecutive' or 'Total'.
|
LogMetricTrigger |
withThreshold(Double threshold)
Set the threshold property: The threshold of the metric trigger.
|
LogMetricTrigger |
withThresholdOperator(ConditionalOperator thresholdOperator)
Set the thresholdOperator property: Evaluation operation for Metric -'GreaterThan' or 'LessThan' or 'Equal'.
|
public ConditionalOperator thresholdOperator()
public LogMetricTrigger withThresholdOperator(ConditionalOperator thresholdOperator)
thresholdOperator - the thresholdOperator value to set.public Double threshold()
public LogMetricTrigger withThreshold(Double threshold)
threshold - the threshold value to set.public MetricTriggerType metricTriggerType()
public LogMetricTrigger withMetricTriggerType(MetricTriggerType metricTriggerType)
metricTriggerType - the metricTriggerType value to set.public String metricColumn()
public LogMetricTrigger withMetricColumn(String metricColumn)
metricColumn - the metricColumn value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.