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