public class ExcludeRouteObjectBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<ExcludeRouteObject>
ExcludeRouteObjectBuilder 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:
ExcludeRouteObjectBuilder createTarget(int fooXyzzy, int barBaz) {
return new ExcludeRouteObjectBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of ExcludeRouteObjectBuilder, 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 methodExcludeRouteObjectBuilder,
Builder| Constructor and Description |
|---|
ExcludeRouteObjectBuilder() |
ExcludeRouteObjectBuilder(ExcludeRouteObject base) |
ExcludeRouteObjectBuilder(RsvpTeObject arg) |
| Modifier and Type | Method and Description |
|---|---|
ExcludeRouteObjectBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<ExcludeRouteObject>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<ExcludeRouteObject> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<ExcludeRouteObject>> |
augmentation(Class<E$$> augmentationType) |
ExcludeRouteObject |
build() |
void |
fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
Set fields from given grouping argument.
|
List<SubobjectContainer> |
getSubobjectContainer() |
ExcludeRouteObjectBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<ExcludeRouteObject>> augmentationType) |
ExcludeRouteObjectBuilder |
setSubobjectContainer(List<SubobjectContainer> values) |
public ExcludeRouteObjectBuilder()
public ExcludeRouteObjectBuilder(RsvpTeObject arg)
public ExcludeRouteObjectBuilder(ExcludeRouteObject base)
public void fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
arg - grouping objectIllegalArgumentException - if given argument is none of valid typespublic List<SubobjectContainer> getSubobjectContainer()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<ExcludeRouteObject>> E$$ augmentation(Class<E$$> augmentationType)
public ExcludeRouteObjectBuilder setSubobjectContainer(List<SubobjectContainer> values)
public ExcludeRouteObjectBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<ExcludeRouteObject>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<ExcludeRouteObject> augmentationValue)
public ExcludeRouteObjectBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<ExcludeRouteObject>> augmentationType)
public ExcludeRouteObject build()
build in interface org.opendaylight.yangtools.concepts.CheckedBuilder<ExcludeRouteObject,IllegalArgumentException>Copyright © 2020 OpenDaylight. All rights reserved.