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