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