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