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