Package org.openstack4j.model.telemetry
Interface Alarm
-
- All Superinterfaces:
BasicResource,Buildable<AlarmBuilder>,IdEntity,ModelEntity,Serializable
- All Known Implementing Classes:
CeilometerAlarm
public interface Alarm extends ModelEntity, BasicResource, Buildable<AlarmBuilder>
An Alarm is triggered when a specificied rule is satisfied- Author:
- Massimiliano Romano
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classAlarm.AggregationMethodstatic interfaceAlarm.AggregationMetricByResourcesLookupRulestatic interfaceAlarm.AggregationMetricsByIdLookupRulestatic interfaceAlarm.AlarmChangestatic interfaceAlarm.AlarmTimeConstraintstatic interfaceAlarm.CombinationRulestatic classAlarm.ComparisonOperatorstatic interfaceAlarm.GnocchiAggregationByMetricsThresholdRulestatic interfaceAlarm.GnocchiAggregationByResourcesThresholdRulestatic interfaceAlarm.GnocchiEventstatic interfaceAlarm.GnocchiResourcesThresholdRulestatic interfaceAlarm.MetricOfResourceRulestatic classAlarm.Operatorstatic interfaceAlarm.Querystatic classAlarm.Statisticstatic interfaceAlarm.ThresholdRulestatic classAlarm.TypeThe Alarm Type-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
-
Method Summary
-
-
-
Method Detail
-
getAlarmId
String getAlarmId()
-
getDescription
String getDescription()
-
setDescription
void setDescription(String description)
-
isEnabled
boolean isEnabled()
-
isEnabled
void isEnabled(boolean newValue)
-
getName
String getName()
- Specified by:
getNamein interfaceBasicResource- Returns:
- the unique name of the alarm
-
setName
void setName(String name)
Description copied from interface:BasicResourceSets the name for this resource- Specified by:
setNamein interfaceBasicResource- Parameters:
name- the name to set
-
getProjectId
String getProjectId()
- Returns:
- the ID of the project/tenant that owns the resource
-
getRepeatActions
boolean getRepeatActions()
-
getState
String getState()
-
getStateTimestamp
String getStateTimestamp()
-
getThresholdRule
Alarm.ThresholdRule getThresholdRule()
-
setThresholdRule
void setThresholdRule(CeilometerAlarm.CeilometerThresholdRule tr)
-
getCombinationRule
Alarm.CombinationRule getCombinationRule()
-
getGnocchiResourcesThresholdRule
Alarm.GnocchiResourcesThresholdRule getGnocchiResourcesThresholdRule()
-
setGnocchiResourcesThresholdRule
void setGnocchiResourcesThresholdRule(CeilometerAlarm.CeilometerGnocchiResourcesThresholdRule ceilometerGnocchiResourcesThresholdRule)
-
getGnocchiAggregationByMetricsThresholdRule
Alarm.GnocchiAggregationByMetricsThresholdRule getGnocchiAggregationByMetricsThresholdRule()
-
setGnocchiAggregationByMetricsThresholdRule
void setGnocchiAggregationByMetricsThresholdRule(CeilometerAlarm.CeilometerGnocchiAggregationByMetricsThresholdRule ceilometerGnocchiAggregationByMetricsThresholdRule)
-
getGnocchiAggregationByResourcesThresholdRule
Alarm.GnocchiAggregationByResourcesThresholdRule getGnocchiAggregationByResourcesThresholdRule()
-
setGnocchiAggregationByResourcesThresholdRule
void setGnocchiAggregationByResourcesThresholdRule(CeilometerAlarm.CeilometerGnocchiAggregationByResourcesThresholdRule ceilometerGnocchiAggregationByResourcesThresholdRule)
-
getTimestamp
String getTimestamp()
-
getType
Alarm.Type getType()
- Returns:
- the alarm type
-
setType
void setType(Alarm.Type type)
-
getUserId
String getUserId()
- Returns:
- The user id who last modified the resource
-
setUserId
void setUserId(String userId)
-
setRepeateActions
void setRepeateActions(Boolean repeatActions)
-
-