Class CeilometerAlarm.CeilometerThresholdRule
- java.lang.Object
-
- org.openstack4j.openstack.telemetry.domain.CeilometerAlarm.CeilometerThresholdRule
-
- All Implemented Interfaces:
Alarm.ThresholdRule
- Enclosing class:
- CeilometerAlarm
public static class CeilometerAlarm.CeilometerThresholdRule extends Object implements Alarm.ThresholdRule
-
-
Constructor Summary
Constructors Constructor Description CeilometerThresholdRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Alarm.ComparisonOperatorgetComparisonOperator()intgetEvaluationPeriods()booleangetExcludeOutliers()StringgetMeterName()intgetPeriod()List<? extends Alarm.Query>getQuery()Alarm.StatisticgetStatistic()floatgetThreshold()voidsetComparisonOperator(Alarm.ComparisonOperator comparisonOperator)voidsetEvaluationPeriods(int evaluationPeriod)voidsetExcludeOutliers(boolean excludeOutliers)voidsetMeterName(String meterName)voidsetPeriod(int period)voidsetQuery(List<CeilometerAlarm.CeilometerQuery> query)voidsetStatistic(Alarm.Statistic statistic)voidsetThreshold(float threshold)
-
-
-
Method Detail
-
getMeterName
public String getMeterName()
- Specified by:
getMeterNamein interfaceAlarm.ThresholdRule
-
setMeterName
public void setMeterName(String meterName)
- Specified by:
setMeterNamein interfaceAlarm.ThresholdRule
-
getEvaluationPeriods
public int getEvaluationPeriods()
- Specified by:
getEvaluationPeriodsin interfaceAlarm.ThresholdRule
-
setEvaluationPeriods
public void setEvaluationPeriods(int evaluationPeriod)
- Specified by:
setEvaluationPeriodsin interfaceAlarm.ThresholdRule
-
getStatistic
public Alarm.Statistic getStatistic()
- Specified by:
getStatisticin interfaceAlarm.ThresholdRule
-
setStatistic
public void setStatistic(Alarm.Statistic statistic)
- Specified by:
setStatisticin interfaceAlarm.ThresholdRule
-
getPeriod
public int getPeriod()
- Specified by:
getPeriodin interfaceAlarm.ThresholdRule
-
setPeriod
public void setPeriod(int period)
- Specified by:
setPeriodin interfaceAlarm.ThresholdRule
-
getThreshold
public float getThreshold()
- Specified by:
getThresholdin interfaceAlarm.ThresholdRule
-
setThreshold
public void setThreshold(float threshold)
- Specified by:
setThresholdin interfaceAlarm.ThresholdRule
-
getQuery
public List<? extends Alarm.Query> getQuery()
- Specified by:
getQueryin interfaceAlarm.ThresholdRule
-
setQuery
public void setQuery(List<CeilometerAlarm.CeilometerQuery> query)
- Specified by:
setQueryin interfaceAlarm.ThresholdRule
-
getComparisonOperator
public Alarm.ComparisonOperator getComparisonOperator()
- Specified by:
getComparisonOperatorin interfaceAlarm.ThresholdRule
-
setComparisonOperator
public void setComparisonOperator(Alarm.ComparisonOperator comparisonOperator)
- Specified by:
setComparisonOperatorin interfaceAlarm.ThresholdRule
-
getExcludeOutliers
public boolean getExcludeOutliers()
- Specified by:
getExcludeOutliersin interfaceAlarm.ThresholdRule
-
setExcludeOutliers
public void setExcludeOutliers(boolean excludeOutliers)
- Specified by:
setExcludeOutliersin interfaceAlarm.ThresholdRule
-
-