public static class CeilometerAlarm.CeilometerGnocchiResourcesThresholdRule extends Object implements Alarm.GnocchiResourcesThresholdRule
| Constructor and Description |
|---|
CeilometerGnocchiResourcesThresholdRule() |
| Modifier and Type | Method and Description |
|---|---|
Alarm.AggregationMethod |
getAggregationMethod() |
Alarm.ComparisonOperator |
getComparisonOperator() |
int |
getEvaluationPeriods() |
long |
getGranularity() |
String |
getMetric() |
String |
getResourceId() |
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 |
setResourceId(String resourceId) |
void |
setResourceType(String resourceType) |
void |
setThreshold(float threshold) |
public CeilometerGnocchiResourcesThresholdRule()
public String getMetric()
getMetric in interface Alarm.GnocchiResourcesThresholdRulepublic String getResourceId()
getResourceId in interface Alarm.GnocchiResourcesThresholdRulepublic String getResourceType()
getResourceType in interface Alarm.GnocchiResourcesThresholdRulepublic Alarm.ComparisonOperator getComparisonOperator()
getComparisonOperator in interface Alarm.GnocchiResourcesThresholdRulepublic Alarm.AggregationMethod getAggregationMethod()
getAggregationMethod in interface Alarm.GnocchiResourcesThresholdRulepublic int getEvaluationPeriods()
getEvaluationPeriods in interface Alarm.GnocchiResourcesThresholdRulepublic float getThreshold()
getThreshold in interface Alarm.GnocchiResourcesThresholdRulepublic long getGranularity()
getGranularity in interface Alarm.GnocchiResourcesThresholdRulepublic void setMetric(String metric)
setMetric in interface Alarm.GnocchiResourcesThresholdRulepublic void setResourceId(String resourceId)
setResourceId in interface Alarm.GnocchiResourcesThresholdRulepublic void setResourceType(String resourceType)
setResourceType in interface Alarm.GnocchiResourcesThresholdRulepublic void setComparisonOperator(Alarm.ComparisonOperator comparisonOperator)
setComparisonOperator in interface Alarm.GnocchiResourcesThresholdRulepublic void setAggregationMethod(Alarm.AggregationMethod aggregationMethod)
setAggregationMethod in interface Alarm.GnocchiResourcesThresholdRulepublic void setEvaluationPeriods(int evaluationPeriod)
setEvaluationPeriods in interface Alarm.GnocchiResourcesThresholdRulepublic void setThreshold(float threshold)
setThreshold in interface Alarm.GnocchiResourcesThresholdRulepublic void setGranularity(long granularity)
setGranularity in interface Alarm.GnocchiResourcesThresholdRuleCopyright © 2020. All rights reserved.