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