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