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