public class CeilometerAlarm extends Object implements Alarm
Modifier and Type | Class and Description |
---|---|
static class |
CeilometerAlarm.AlarmConcreteBuilder |
static class |
CeilometerAlarm.CeilometerCombinationRule |
static class |
CeilometerAlarm.CeilometerQuery |
static class |
CeilometerAlarm.CeilometerThresholdRule |
Alarm.CombinationRule, Alarm.ThresholdRule, Alarm.Type
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
Constructor and Description |
---|
CeilometerAlarm() |
public String getName()
getName
in interface BasicResource
getName
in interface Alarm
public String getProjectId()
getProjectId
in interface Alarm
public Alarm.Type getType()
public String getUserId()
public List<String> getAlarmActions()
getAlarmActions
in interface Alarm
public String getAlarmId()
getAlarmId
in interface Alarm
public String getDescription()
getDescription
in interface Alarm
public List<String> getInsufficientDataActions()
getInsufficientDataActions
in interface Alarm
public List<String> getOkActions()
getOkActions
in interface Alarm
public boolean getRepeatActions()
getRepeatActions
in interface Alarm
public String getStateTimestamp()
getStateTimestamp
in interface Alarm
public Alarm.ThresholdRule getThresholdRule()
getThresholdRule
in interface Alarm
public Alarm.CombinationRule getCombinationRule()
getCombinationRule
in interface Alarm
public String getTimestamp()
getTimestamp
in interface Alarm
public static AlarmBuilder builder()
public void setName(String name)
setName
in interface BasicResource
setName
in interface Alarm
name
- the name to setpublic void setType(Alarm.Type type)
public void setAlarmActions(List<String> alarmActions)
setAlarmActions
in interface Alarm
public void setDescription(String description)
setDescription
in interface Alarm
public void setInsufficientDataActions(List<String> insufficientDataActions)
setInsufficientDataActions
in interface Alarm
public void setOkActions(List<String> okActions)
setOkActions
in interface Alarm
public void setRepeateActions(Boolean repeatActions)
setRepeateActions
in interface Alarm
public String getId()
public void setId(String id)
IdEntity
public void setThresholdRule(CeilometerAlarm.CeilometerThresholdRule tr)
setThresholdRule
in interface Alarm
public AlarmBuilder toBuilder()
toBuilder
in interface Buildable<AlarmBuilder>
Copyright © 2017. All rights reserved.