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