public static class CeilometerAlarm.AlarmConcreteBuilder extends BasicResourceBuilder<Alarm,CeilometerAlarm.AlarmConcreteBuilder> implements AlarmBuilder
Modifier and Type | Method and Description |
---|---|
AlarmBuilder |
alarmActions(List<String> alarmActions) |
Alarm |
build()
Creates and return the Model Entity M
|
AlarmBuilder |
combinationRule(CeilometerAlarm.CeilometerCombinationRule ce) |
AlarmBuilder |
description(String description) |
AlarmBuilder |
from(Alarm in)
Creates a Builder using the param M as the default values
|
AlarmBuilder |
isEnabled(boolean isEnabled) |
AlarmBuilder |
okActions(List<String> okActions) |
protected Alarm |
reference() |
AlarmBuilder |
repeatActions(boolean repeatActions) |
AlarmBuilder |
thresholeRule(CeilometerAlarm.CeilometerThresholdRule tr) |
AlarmBuilder |
type(Alarm.Type type) |
id, name, self
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
name
public Alarm build()
Buildable.Builder
build
in interface Buildable.Builder<AlarmBuilder,Alarm>
public AlarmBuilder from(Alarm in)
Buildable.Builder
from
in interface Buildable.Builder<AlarmBuilder,Alarm>
public AlarmBuilder okActions(List<String> okActions)
okActions
in interface AlarmBuilder
protected Alarm reference()
reference
in class BasicResourceBuilder<Alarm,CeilometerAlarm.AlarmConcreteBuilder>
public AlarmBuilder type(Alarm.Type type)
type
in interface AlarmBuilder
public AlarmBuilder thresholeRule(CeilometerAlarm.CeilometerThresholdRule tr)
thresholeRule
in interface AlarmBuilder
public AlarmBuilder repeatActions(boolean repeatActions)
repeatActions
in interface AlarmBuilder
public AlarmBuilder description(String description)
description
in interface AlarmBuilder
public AlarmBuilder alarmActions(List<String> alarmActions)
alarmActions
in interface AlarmBuilder
public AlarmBuilder isEnabled(boolean isEnabled)
isEnabled
in interface AlarmBuilder
public AlarmBuilder combinationRule(CeilometerAlarm.CeilometerCombinationRule ce)
combinationRule
in interface AlarmBuilder
Copyright © 2017. All rights reserved.