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