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