public class MonitorStartInputBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<MonitorStartInput>
MonitorStartInputBuilder
instances. Overall design of the class is that of a
fluent interface, where method chaining is used.
In general, this class is supposed to be used like this template:
MonitorStartInputBuilder createTarget(int fooXyzzy, int barBaz) {
return new MonitorStartInputBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of MonitorStartInputBuilder, as instances can be freely passed around without worrying about synchronization issues.
As a side note: method chaining results in:
build()
, which is then returned from the methodMonitorStartInputBuilder
,
Builder
Constructor and Description |
---|
MonitorStartInputBuilder() |
MonitorStartInputBuilder(MonitorStartInput base) |
Modifier and Type | Method and Description |
---|---|
MonitorStartInputBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<MonitorStartInput>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<MonitorStartInput> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<MonitorStartInput>> |
augmentation(Class<E$$> augmentationType) |
MonitorStartInput |
build() |
Config |
getConfig() |
MonitorStartInputBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<MonitorStartInput>> augmentationType) |
MonitorStartInputBuilder |
setConfig(Config value) |
public MonitorStartInputBuilder()
public MonitorStartInputBuilder(MonitorStartInput base)
public Config getConfig()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<MonitorStartInput>> E$$ augmentation(Class<E$$> augmentationType)
public MonitorStartInputBuilder setConfig(Config value)
public MonitorStartInputBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<MonitorStartInput>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<MonitorStartInput> augmentationValue)
public MonitorStartInputBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<MonitorStartInput>> augmentationType)
public MonitorStartInput build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<MonitorStartInput,IllegalArgumentException>
Copyright © 2019 OpenDaylight. All rights reserved.