public static class CeilometerAlarm.CeilometerThresholdRule extends Object implements Alarm.ThresholdRule
Alarm.ThresholdRule.ComparisonOperator, Alarm.ThresholdRule.Query, Alarm.ThresholdRule.Statistic
Constructor and Description |
---|
CeilometerThresholdRule() |
Modifier and Type | Method and Description |
---|---|
Alarm.ThresholdRule.ComparisonOperator |
getComparisonOperator() |
int |
getEvaluationPeriods() |
boolean |
getExcludeOutliers() |
String |
getMeterName() |
int |
getPeriod() |
List<? extends Alarm.ThresholdRule.Query> |
getQuery() |
Alarm.ThresholdRule.Statistic |
getStatistic() |
float |
getThreshold() |
void |
setComparisonOperator(Alarm.ThresholdRule.ComparisonOperator comparisonOperator) |
void |
setEvaluationPeriods(int evaluationPeriod) |
void |
setExcludeOutliers(boolean excludeOutliers) |
void |
setMeterName(String meterName) |
void |
setPeriod(int period) |
void |
setQuery(List<CeilometerAlarm.CeilometerQuery> query) |
void |
setStatistic(Alarm.ThresholdRule.Statistic statistic) |
void |
setThreshold(float threshold) |
public String getMeterName()
getMeterName
in interface Alarm.ThresholdRule
public int getEvaluationPeriods()
getEvaluationPeriods
in interface Alarm.ThresholdRule
public Alarm.ThresholdRule.Statistic getStatistic()
getStatistic
in interface Alarm.ThresholdRule
public int getPeriod()
getPeriod
in interface Alarm.ThresholdRule
public float getThreshold()
getThreshold
in interface Alarm.ThresholdRule
public List<? extends Alarm.ThresholdRule.Query> getQuery()
getQuery
in interface Alarm.ThresholdRule
public Alarm.ThresholdRule.ComparisonOperator getComparisonOperator()
getComparisonOperator
in interface Alarm.ThresholdRule
public boolean getExcludeOutliers()
getExcludeOutliers
in interface Alarm.ThresholdRule
public void setMeterName(String meterName)
setMeterName
in interface Alarm.ThresholdRule
public void setEvaluationPeriods(int evaluationPeriod)
setEvaluationPeriods
in interface Alarm.ThresholdRule
public void setStatistic(Alarm.ThresholdRule.Statistic statistic)
setStatistic
in interface Alarm.ThresholdRule
public void setPeriod(int period)
setPeriod
in interface Alarm.ThresholdRule
public void setThreshold(float threshold)
setThreshold
in interface Alarm.ThresholdRule
public void setQuery(List<CeilometerAlarm.CeilometerQuery> query)
setQuery
in interface Alarm.ThresholdRule
public void setComparisonOperator(Alarm.ThresholdRule.ComparisonOperator comparisonOperator)
setComparisonOperator
in interface Alarm.ThresholdRule
public void setExcludeOutliers(boolean excludeOutliers)
setExcludeOutliers
in interface Alarm.ThresholdRule
Copyright © 2017. All rights reserved.