public class NxActionLearnNodesNodeTableFlowApplyActionsCaseBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<NxActionLearnNodesNodeTableFlowApplyActionsCase>
NxActionLearnNodesNodeTableFlowApplyActionsCaseBuilder 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:
NxActionLearnNodesNodeTableFlowApplyActionsCaseBuilder createTarget(int fooXyzzy, int barBaz) {
return new NxActionLearnNodesNodeTableFlowApplyActionsCaseBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of NxActionLearnNodesNodeTableFlowApplyActionsCaseBuilder, 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 methodNxActionLearnNodesNodeTableFlowApplyActionsCaseBuilder,
Builder| Constructor and Description |
|---|
NxActionLearnNodesNodeTableFlowApplyActionsCaseBuilder() |
NxActionLearnNodesNodeTableFlowApplyActionsCaseBuilder(NxActionLearnGrouping arg) |
NxActionLearnNodesNodeTableFlowApplyActionsCaseBuilder(NxActionLearnNodesNodeTableFlowApplyActionsCase base) |
public NxActionLearnNodesNodeTableFlowApplyActionsCaseBuilder()
public NxActionLearnNodesNodeTableFlowApplyActionsCaseBuilder(NxActionLearnGrouping arg)
public NxActionLearnNodesNodeTableFlowApplyActionsCaseBuilder(NxActionLearnNodesNodeTableFlowApplyActionsCase base)
public void fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
arg - grouping objectIllegalArgumentException - if given argument is none of valid typespublic NxLearn getNxLearn()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<NxActionLearnNodesNodeTableFlowApplyActionsCase>> E$$ augmentation(Class<E$$> augmentationType)
public NxActionLearnNodesNodeTableFlowApplyActionsCaseBuilder setNxLearn(NxLearn value)
public NxActionLearnNodesNodeTableFlowApplyActionsCaseBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<NxActionLearnNodesNodeTableFlowApplyActionsCase>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<NxActionLearnNodesNodeTableFlowApplyActionsCase> augmentationValue)
public NxActionLearnNodesNodeTableFlowApplyActionsCaseBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<NxActionLearnNodesNodeTableFlowApplyActionsCase>> augmentationType)
public NxActionLearnNodesNodeTableFlowApplyActionsCase build()
build in interface org.opendaylight.yangtools.concepts.CheckedBuilder<NxActionLearnNodesNodeTableFlowApplyActionsCase,IllegalArgumentException>Copyright © 2020 OpenDaylight. All rights reserved.