public class NxActionRegLoadRpcTransmitPacketCaseBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<NxActionRegLoadRpcTransmitPacketCase>
NxActionRegLoadRpcTransmitPacketCaseBuilder 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:
NxActionRegLoadRpcTransmitPacketCaseBuilder createTarget(int fooXyzzy, int barBaz) {
return new NxActionRegLoadRpcTransmitPacketCaseBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of NxActionRegLoadRpcTransmitPacketCaseBuilder, 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 methodNxActionRegLoadRpcTransmitPacketCaseBuilder,
Builder| Constructor and Description |
|---|
NxActionRegLoadRpcTransmitPacketCaseBuilder() |
NxActionRegLoadRpcTransmitPacketCaseBuilder(NxActionRegLoadGrouping arg) |
NxActionRegLoadRpcTransmitPacketCaseBuilder(NxActionRegLoadRpcTransmitPacketCase base) |
| Modifier and Type | Method and Description |
|---|---|
NxActionRegLoadRpcTransmitPacketCaseBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<NxActionRegLoadRpcTransmitPacketCase>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<NxActionRegLoadRpcTransmitPacketCase> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<NxActionRegLoadRpcTransmitPacketCase>> |
augmentation(Class<E$$> augmentationType) |
NxActionRegLoadRpcTransmitPacketCase |
build() |
void |
fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
Set fields from given grouping argument.
|
NxRegLoad |
getNxRegLoad() |
NxActionRegLoadRpcTransmitPacketCaseBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<NxActionRegLoadRpcTransmitPacketCase>> augmentationType) |
NxActionRegLoadRpcTransmitPacketCaseBuilder |
setNxRegLoad(NxRegLoad value) |
public NxActionRegLoadRpcTransmitPacketCaseBuilder()
public NxActionRegLoadRpcTransmitPacketCaseBuilder(NxActionRegLoadGrouping arg)
public NxActionRegLoadRpcTransmitPacketCaseBuilder(NxActionRegLoadRpcTransmitPacketCase base)
public void fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
arg - grouping objectIllegalArgumentException - if given argument is none of valid typespublic NxRegLoad getNxRegLoad()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<NxActionRegLoadRpcTransmitPacketCase>> E$$ augmentation(Class<E$$> augmentationType)
public NxActionRegLoadRpcTransmitPacketCaseBuilder setNxRegLoad(NxRegLoad value)
public NxActionRegLoadRpcTransmitPacketCaseBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<NxActionRegLoadRpcTransmitPacketCase>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<NxActionRegLoadRpcTransmitPacketCase> augmentationValue)
public NxActionRegLoadRpcTransmitPacketCaseBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<NxActionRegLoadRpcTransmitPacketCase>> augmentationType)
public NxActionRegLoadRpcTransmitPacketCase build()
build in interface org.opendaylight.yangtools.concepts.CheckedBuilder<NxActionRegLoadRpcTransmitPacketCase,IllegalArgumentException>Copyright © 2019 OpenDaylight. All rights reserved.