public class CeilometerAlarm extends Object implements Alarm
| Modifier and Type | Class and Description |
|---|---|
static class |
CeilometerAlarm.AlarmConcreteBuilder |
static class |
CeilometerAlarm.CeilometerCombinationRule |
static class |
CeilometerAlarm.CeilometerGnocchiAggregationByMetricsThresholdRule |
static class |
CeilometerAlarm.CeilometerGnocchiAggregationByResourcesThresholdRule |
static class |
CeilometerAlarm.CeilometerGnocchiResourcesThresholdRule |
static class |
CeilometerAlarm.CeilometerQuery |
static class |
CeilometerAlarm.CeilometerThresholdRule |
Alarm.AggregationMethod, Alarm.AggregationMetricByResourcesLookupRule, Alarm.AggregationMetricsByIdLookupRule, Alarm.AlarmChange, Alarm.AlarmTimeConstraint, Alarm.CombinationRule, Alarm.ComparisonOperator, Alarm.GnocchiAggregationByMetricsThresholdRule, Alarm.GnocchiAggregationByResourcesThresholdRule, Alarm.GnocchiEvent, Alarm.GnocchiResourcesThresholdRule, Alarm.MetricOfResourceRule, Alarm.Operator, Alarm.Query, Alarm.Statistic, Alarm.ThresholdRule, Alarm.TypeBuildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>| Constructor and Description |
|---|
CeilometerAlarm() |
public static AlarmBuilder builder()
public String getName()
getName in interface BasicResourcegetName in interface Alarmpublic void setName(String name)
setName in interface BasicResourcesetName in interface Alarmname - the name to setpublic String getProjectId()
getProjectId in interface Alarmpublic Alarm.Type getType()
public void setType(Alarm.Type type)
public String getUserId()
public List<String> getAlarmActions()
getAlarmActions in interface Alarmpublic void setAlarmActions(List<String> alarmActions)
setAlarmActions in interface Alarmpublic String getAlarmId()
getAlarmId in interface Alarmpublic String getDescription()
getDescription in interface Alarmpublic void setDescription(String description)
setDescription in interface Alarmpublic List<String> getInsufficientDataActions()
getInsufficientDataActions in interface Alarmpublic void setInsufficientDataActions(List<String> insufficientDataActions)
setInsufficientDataActions in interface Alarmpublic List<String> getOkActions()
getOkActions in interface Alarmpublic void setOkActions(List<String> okActions)
setOkActions in interface Alarmpublic boolean getRepeatActions()
getRepeatActions in interface Alarmpublic String getStateTimestamp()
getStateTimestamp in interface Alarmpublic Alarm.ThresholdRule getThresholdRule()
getThresholdRule in interface Alarmpublic void setThresholdRule(CeilometerAlarm.CeilometerThresholdRule tr)
setThresholdRule in interface Alarmpublic Alarm.CombinationRule getCombinationRule()
getCombinationRule in interface Alarmpublic Map<String,Object> getCompositeRule()
getCompositeRule in interface Alarmpublic Alarm.GnocchiResourcesThresholdRule getGnocchiResourcesThresholdRule()
getGnocchiResourcesThresholdRule in interface Alarmpublic void setGnocchiResourcesThresholdRule(CeilometerAlarm.CeilometerGnocchiResourcesThresholdRule ceilometerGnocchiResourcesThresholdRule)
setGnocchiResourcesThresholdRule in interface Alarmpublic Alarm.GnocchiAggregationByMetricsThresholdRule getGnocchiAggregationByMetricsThresholdRule()
getGnocchiAggregationByMetricsThresholdRule in interface Alarmpublic void setGnocchiAggregationByMetricsThresholdRule(CeilometerAlarm.CeilometerGnocchiAggregationByMetricsThresholdRule ceilometerGnocchiAggregationByMetricsThresholdRule)
setGnocchiAggregationByMetricsThresholdRule in interface Alarmpublic Alarm.GnocchiAggregationByResourcesThresholdRule getGnocchiAggregationByResourcesThresholdRule()
getGnocchiAggregationByResourcesThresholdRule in interface Alarmpublic void setGnocchiAggregationByResourcesThresholdRule(CeilometerAlarm.CeilometerGnocchiAggregationByResourcesThresholdRule ceilometerGnocchiAggregationByResourcesThresholdRule)
setGnocchiAggregationByResourcesThresholdRule in interface Alarmpublic String getTimestamp()
getTimestamp in interface Alarmpublic void setRepeateActions(Boolean repeatActions)
setRepeateActions in interface Alarmpublic String getId()
public void setId(String id)
IdEntitypublic AlarmBuilder toBuilder()
toBuilder in interface Buildable<AlarmBuilder>Copyright © 2021. All rights reserved.