public class NxActionRegLoadNodesNodeTableFlowWriteActionsCaseBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<NxActionRegLoadNodesNodeTableFlowWriteActionsCase>
NxActionRegLoadNodesNodeTableFlowWriteActionsCaseBuilder
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:
NxActionRegLoadNodesNodeTableFlowWriteActionsCaseBuilder createTarget(int fooXyzzy, int barBaz) {
return new NxActionRegLoadNodesNodeTableFlowWriteActionsCaseBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of NxActionRegLoadNodesNodeTableFlowWriteActionsCaseBuilder, 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 methodNxActionRegLoadNodesNodeTableFlowWriteActionsCaseBuilder
,
Builder
public NxActionRegLoadNodesNodeTableFlowWriteActionsCaseBuilder()
public NxActionRegLoadNodesNodeTableFlowWriteActionsCaseBuilder(NxActionRegLoadGrouping arg)
public NxActionRegLoadNodesNodeTableFlowWriteActionsCaseBuilder(NxActionRegLoadNodesNodeTableFlowWriteActionsCase 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<NxActionRegLoadNodesNodeTableFlowWriteActionsCase>> E$$ augmentation(Class<E$$> augmentationType)
public NxActionRegLoadNodesNodeTableFlowWriteActionsCaseBuilder setNxRegLoad(NxRegLoad value)
public NxActionRegLoadNodesNodeTableFlowWriteActionsCaseBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<NxActionRegLoadNodesNodeTableFlowWriteActionsCase>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<NxActionRegLoadNodesNodeTableFlowWriteActionsCase> augmentationValue)
public NxActionRegLoadNodesNodeTableFlowWriteActionsCaseBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<NxActionRegLoadNodesNodeTableFlowWriteActionsCase>> augmentationType)
public NxActionRegLoadNodesNodeTableFlowWriteActionsCase build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<NxActionRegLoadNodesNodeTableFlowWriteActionsCase,IllegalArgumentException>
Copyright © 2020 OpenDaylight. All rights reserved.