public static class CeilometerAlarm.CeilometerGnocchiAggregationByResourcesThresholdRule extends Object implements Alarm.GnocchiAggregationByResourcesThresholdRule
| Constructor and Description |
|---|
CeilometerGnocchiAggregationByResourcesThresholdRule() |
| Modifier and Type | Method and Description |
|---|---|
Alarm.AggregationMethod |
getAggregationMethod() |
Alarm.ComparisonOperator |
getComparisonOperator() |
int |
getEvaluationPeriods() |
long |
getGranularity() |
String |
getMetric() |
Alarm.Query |
getQuery() |
String |
getResourceType() |
float |
getThreshold() |
void |
setAggregationMethod(Alarm.AggregationMethod aggregationMethod) |
void |
setComparisonOperator(Alarm.ComparisonOperator comparisonOperator) |
void |
setEvaluationPeriods(int evaluationPeriod) |
void |
setGranularity(long granularity) |
void |
setMetric(String metric) |
void |
setQuery(CeilometerAlarm.CeilometerQuery query) |
void |
setResourceType(String resourceType) |
void |
setThreshold(float threshold) |
public CeilometerGnocchiAggregationByResourcesThresholdRule()
public String getMetric()
getMetric in interface Alarm.GnocchiAggregationByResourcesThresholdRulepublic String getResourceType()
getResourceType in interface Alarm.GnocchiAggregationByResourcesThresholdRulepublic Alarm.ComparisonOperator getComparisonOperator()
getComparisonOperator in interface Alarm.GnocchiAggregationByResourcesThresholdRulepublic Alarm.AggregationMethod getAggregationMethod()
getAggregationMethod in interface Alarm.GnocchiAggregationByResourcesThresholdRulepublic int getEvaluationPeriods()
getEvaluationPeriods in interface Alarm.GnocchiAggregationByResourcesThresholdRulepublic float getThreshold()
getThreshold in interface Alarm.GnocchiAggregationByResourcesThresholdRulepublic long getGranularity()
getGranularity in interface Alarm.GnocchiAggregationByResourcesThresholdRulepublic Alarm.Query getQuery()
getQuery in interface Alarm.GnocchiAggregationByResourcesThresholdRulepublic void setMetric(String metric)
setMetric in interface Alarm.GnocchiAggregationByResourcesThresholdRulepublic void setResourceType(String resourceType)
setResourceType in interface Alarm.GnocchiAggregationByResourcesThresholdRulepublic void setComparisonOperator(Alarm.ComparisonOperator comparisonOperator)
setComparisonOperator in interface Alarm.GnocchiAggregationByResourcesThresholdRulepublic void setAggregationMethod(Alarm.AggregationMethod aggregationMethod)
setAggregationMethod in interface Alarm.GnocchiAggregationByResourcesThresholdRulepublic void setEvaluationPeriods(int evaluationPeriod)
setEvaluationPeriods in interface Alarm.GnocchiAggregationByResourcesThresholdRulepublic void setThreshold(float threshold)
setThreshold in interface Alarm.GnocchiAggregationByResourcesThresholdRulepublic void setGranularity(long granularity)
setGranularity in interface Alarm.GnocchiAggregationByResourcesThresholdRulepublic void setQuery(CeilometerAlarm.CeilometerQuery query)
setQuery in interface Alarm.GnocchiAggregationByResourcesThresholdRuleCopyright © 2020. All rights reserved.