Class CeilometerAlarm.AlarmConcreteBuilder
- java.lang.Object
-
- org.openstack4j.model.common.builder.BasicResourceBuilder<Alarm,CeilometerAlarm.AlarmConcreteBuilder>
-
- org.openstack4j.openstack.telemetry.domain.CeilometerAlarm.AlarmConcreteBuilder
-
- All Implemented Interfaces:
Buildable.Builder<AlarmBuilder,Alarm>
,AlarmBuilder
- Enclosing class:
- CeilometerAlarm
public static class CeilometerAlarm.AlarmConcreteBuilder extends BasicResourceBuilder<Alarm,CeilometerAlarm.AlarmConcreteBuilder> implements AlarmBuilder
-
-
Method Summary
-
Methods inherited from class org.openstack4j.model.common.builder.BasicResourceBuilder
id, name, self
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openstack4j.model.telemetry.builder.AlarmBuilder
name
-
-
-
-
Method Detail
-
build
public Alarm build()
Description copied from interface:Buildable.Builder
Creates and return the Model Entity M- Specified by:
build
in interfaceBuildable.Builder<AlarmBuilder,Alarm>
- Returns:
- M instance
-
from
public AlarmBuilder from(Alarm in)
Description copied from interface:Buildable.Builder
Creates a Builder using the param M as the default values- Specified by:
from
in interfaceBuildable.Builder<AlarmBuilder,Alarm>
- Returns:
- Builder
-
okActions
public AlarmBuilder okActions(List<String> okActions)
- Specified by:
okActions
in interfaceAlarmBuilder
-
insufficientDataActions
public AlarmBuilder insufficientDataActions(List<String> insufficientDataActions)
- Specified by:
insufficientDataActions
in interfaceAlarmBuilder
-
reference
protected Alarm reference()
- Specified by:
reference
in classBasicResourceBuilder<Alarm,CeilometerAlarm.AlarmConcreteBuilder>
-
type
public AlarmBuilder type(Alarm.Type type)
- Specified by:
type
in interfaceAlarmBuilder
-
thresholeRule
public AlarmBuilder thresholeRule(CeilometerAlarm.CeilometerThresholdRule tr)
- Specified by:
thresholeRule
in interfaceAlarmBuilder
-
repeatActions
public AlarmBuilder repeatActions(boolean repeatActions)
- Specified by:
repeatActions
in interfaceAlarmBuilder
-
description
public AlarmBuilder description(String description)
- Specified by:
description
in interfaceAlarmBuilder
-
alarmActions
public AlarmBuilder alarmActions(List<String> alarmActions)
- Specified by:
alarmActions
in interfaceAlarmBuilder
-
isEnabled
public AlarmBuilder isEnabled(boolean isEnabled)
- Specified by:
isEnabled
in interfaceAlarmBuilder
-
combinationRule
public AlarmBuilder combinationRule(CeilometerAlarm.CeilometerCombinationRule ce)
- Specified by:
combinationRule
in interfaceAlarmBuilder
-
compositeRule
public AlarmBuilder compositeRule(Map<String,Object> cr)
- Specified by:
compositeRule
in interfaceAlarmBuilder
-
gnocchiResourcesThresholdRule
public AlarmBuilder gnocchiResourcesThresholdRule(CeilometerAlarm.CeilometerGnocchiResourcesThresholdRule ceilometerGnocchiResourcesThresholdRule)
- Specified by:
gnocchiResourcesThresholdRule
in interfaceAlarmBuilder
-
gnocchiAggregationByMetricsThresholdRule
public AlarmBuilder gnocchiAggregationByMetricsThresholdRule(CeilometerAlarm.CeilometerGnocchiAggregationByMetricsThresholdRule ceilometerGnocchiAggregationByMetricsThresholdRule)
- Specified by:
gnocchiAggregationByMetricsThresholdRule
in interfaceAlarmBuilder
-
gnocchiAggregationByResourcesThresholdRule
public AlarmBuilder gnocchiAggregationByResourcesThresholdRule(CeilometerAlarm.CeilometerGnocchiAggregationByResourcesThresholdRule ceilometerGnocchiAggregationByResourcesThresholdRule)
- Specified by:
gnocchiAggregationByResourcesThresholdRule
in interfaceAlarmBuilder
-
-