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