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