public class GeneralAugMatchNodesNodeTableFlowBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<GeneralAugMatchNodesNodeTableFlow>
GeneralAugMatchNodesNodeTableFlowBuilder
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:
GeneralAugMatchNodesNodeTableFlowBuilder createTarget(int fooXyzzy, int barBaz) {
return new GeneralAugMatchNodesNodeTableFlowBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of GeneralAugMatchNodesNodeTableFlowBuilder, 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 methodGeneralAugMatchNodesNodeTableFlowBuilder
,
Builder
Constructor and Description |
---|
GeneralAugMatchNodesNodeTableFlowBuilder() |
GeneralAugMatchNodesNodeTableFlowBuilder(GeneralAugMatchNodesNodeTableFlow base) |
GeneralAugMatchNodesNodeTableFlowBuilder(GeneralExtensionListGrouping arg) |
Modifier and Type | Method and Description |
---|---|
GeneralAugMatchNodesNodeTableFlow |
build() |
void |
fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
Set fields from given grouping argument.
|
List<ExtensionList> |
getExtensionList() |
GeneralAugMatchNodesNodeTableFlowBuilder |
setExtensionList(List<ExtensionList> values) |
public GeneralAugMatchNodesNodeTableFlowBuilder()
public GeneralAugMatchNodesNodeTableFlowBuilder(GeneralExtensionListGrouping arg)
public GeneralAugMatchNodesNodeTableFlowBuilder(GeneralAugMatchNodesNodeTableFlow base)
public void fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
arg
- grouping objectIllegalArgumentException
- if given argument is none of valid typespublic List<ExtensionList> getExtensionList()
public GeneralAugMatchNodesNodeTableFlowBuilder setExtensionList(List<ExtensionList> values)
public GeneralAugMatchNodesNodeTableFlow build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<GeneralAugMatchNodesNodeTableFlow,IllegalArgumentException>
Copyright © 2020 OpenDaylight. All rights reserved.