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