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