public class LogMetricTrigger extends Object
Constructor and Description |
---|
LogMetricTrigger() |
Modifier and Type | Method and Description |
---|---|
String |
metricColumn()
Get evaluation of metric on a particular column.
|
MetricTriggerType |
metricTriggerType()
Get metric Trigger Type - 'Consecutive' or 'Total'.
|
Double |
threshold()
Get the threshold of the metric trigger.
|
ConditionalOperator |
thresholdOperator()
Get evaluation operation for Metric -'GreaterThan' or 'LessThan' or 'Equal'.
|
LogMetricTrigger |
withMetricColumn(String metricColumn)
Set evaluation of metric on a particular column.
|
LogMetricTrigger |
withMetricTriggerType(MetricTriggerType metricTriggerType)
Set metric Trigger Type - 'Consecutive' or 'Total'.
|
LogMetricTrigger |
withThreshold(Double threshold)
Set the threshold of the metric trigger.
|
LogMetricTrigger |
withThresholdOperator(ConditionalOperator thresholdOperator)
Set evaluation operation for Metric -'GreaterThan' or 'LessThan' or 'Equal'.
|
public ConditionalOperator thresholdOperator()
public LogMetricTrigger withThresholdOperator(ConditionalOperator thresholdOperator)
thresholdOperator
- the thresholdOperator value to setpublic Double threshold()
public LogMetricTrigger withThreshold(Double threshold)
threshold
- the threshold value to setpublic MetricTriggerType metricTriggerType()
public LogMetricTrigger withMetricTriggerType(MetricTriggerType metricTriggerType)
metricTriggerType
- the metricTriggerType value to setpublic String metricColumn()
public LogMetricTrigger withMetricColumn(String metricColumn)
metricColumn
- the metricColumn value to setCopyright © 2019. All rights reserved.