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