public class MonitorProfileDeleteOutputBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<MonitorProfileDeleteOutput>
MonitorProfileDeleteOutputBuilder
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:
MonitorProfileDeleteOutputBuilder createTarget(int fooXyzzy, int barBaz) {
return new MonitorProfileDeleteOutputBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of MonitorProfileDeleteOutputBuilder, 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 methodMonitorProfileDeleteOutputBuilder
,
Builder
Constructor and Description |
---|
MonitorProfileDeleteOutputBuilder() |
MonitorProfileDeleteOutputBuilder(MonitorProfileDeleteOutput base) |
Modifier and Type | Method and Description |
---|---|
MonitorProfileDeleteOutputBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<MonitorProfileDeleteOutput>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<MonitorProfileDeleteOutput> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<MonitorProfileDeleteOutput>> |
augmentation(Class<E$$> augmentationType) |
MonitorProfileDeleteOutput |
build() |
MonitorProfileDeleteOutputBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<MonitorProfileDeleteOutput>> augmentationType) |
public MonitorProfileDeleteOutputBuilder()
public MonitorProfileDeleteOutputBuilder(MonitorProfileDeleteOutput base)
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<MonitorProfileDeleteOutput>> E$$ augmentation(Class<E$$> augmentationType)
public MonitorProfileDeleteOutputBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<MonitorProfileDeleteOutput>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<MonitorProfileDeleteOutput> augmentationValue)
public MonitorProfileDeleteOutputBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<MonitorProfileDeleteOutput>> augmentationType)
public MonitorProfileDeleteOutput build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<MonitorProfileDeleteOutput,IllegalArgumentException>
Copyright © 2019 OpenDaylight. All rights reserved.