public interface Alarm extends ModelEntity, BasicResource, Buildable<AlarmBuilder>
Modifier and Type | Interface and Description |
---|---|
static interface |
Alarm.CombinationRule |
static interface |
Alarm.ThresholdRule |
static class |
Alarm.Type
The Alarm Type
|
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
Modifier and Type | Method and Description |
---|---|
List<String> |
getAlarmActions() |
String |
getAlarmId() |
Alarm.CombinationRule |
getCombinationRule() |
String |
getDescription() |
List<String> |
getInsufficientDataActions() |
String |
getName() |
List<String> |
getOkActions() |
String |
getProjectId() |
boolean |
getRepeatActions() |
String |
getState() |
String |
getStateTimestamp() |
Alarm.ThresholdRule |
getThresholdRule() |
String |
getTimestamp() |
Alarm.Type |
getType() |
String |
getUserId() |
boolean |
isEnabled() |
void |
isEnabled(boolean newValue) |
void |
setAlarmActions(List<String> alarmActions) |
void |
setDescription(String description) |
void |
setInsufficientDataActions(List<String> insufficientDataActions) |
void |
setName(String name)
Sets the name for this resource
|
void |
setOkActions(List<String> okActions) |
void |
setRepeateActions(Boolean repeatActions) |
void |
setThresholdRule(CeilometerAlarm.CeilometerThresholdRule tr) |
void |
setType(Alarm.Type type) |
void |
setUserId(String userId) |
String getAlarmId()
String getDescription()
boolean isEnabled()
void isEnabled(boolean newValue)
String getName()
getName
in interface BasicResource
String getProjectId()
boolean getRepeatActions()
String getState()
String getStateTimestamp()
Alarm.ThresholdRule getThresholdRule()
Alarm.CombinationRule getCombinationRule()
String getTimestamp()
Alarm.Type getType()
String getUserId()
void setName(String name)
BasicResource
setName
in interface BasicResource
name
- the name to setvoid setType(Alarm.Type type)
void setUserId(String userId)
void setDescription(String description)
void setRepeateActions(Boolean repeatActions)
void setThresholdRule(CeilometerAlarm.CeilometerThresholdRule tr)
Copyright © 2017. All rights reserved.