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