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