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