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