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