public class NxActionEncapRpcUpdateFlowUpdatedWriteActionsCaseBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<NxActionEncapRpcUpdateFlowUpdatedWriteActionsCase>
NxActionEncapRpcUpdateFlowUpdatedWriteActionsCaseBuilder 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:
NxActionEncapRpcUpdateFlowUpdatedWriteActionsCaseBuilder createTarget(int fooXyzzy, int barBaz) {
return new NxActionEncapRpcUpdateFlowUpdatedWriteActionsCaseBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of NxActionEncapRpcUpdateFlowUpdatedWriteActionsCaseBuilder, 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 methodNxActionEncapRpcUpdateFlowUpdatedWriteActionsCaseBuilder,
Builderpublic NxActionEncapRpcUpdateFlowUpdatedWriteActionsCaseBuilder()
public NxActionEncapRpcUpdateFlowUpdatedWriteActionsCaseBuilder(NxActionEncapGrouping arg)
public NxActionEncapRpcUpdateFlowUpdatedWriteActionsCaseBuilder(NxActionEncapRpcUpdateFlowUpdatedWriteActionsCase 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<NxActionEncapRpcUpdateFlowUpdatedWriteActionsCase>> E$$ augmentation(Class<E$$> augmentationType)
public NxActionEncapRpcUpdateFlowUpdatedWriteActionsCaseBuilder setNxEncap(NxEncap value)
public NxActionEncapRpcUpdateFlowUpdatedWriteActionsCaseBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<NxActionEncapRpcUpdateFlowUpdatedWriteActionsCase>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<NxActionEncapRpcUpdateFlowUpdatedWriteActionsCase> augmentationValue)
public NxActionEncapRpcUpdateFlowUpdatedWriteActionsCaseBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<NxActionEncapRpcUpdateFlowUpdatedWriteActionsCase>> augmentationType)
public NxActionEncapRpcUpdateFlowUpdatedWriteActionsCase build()
build in interface org.opendaylight.yangtools.concepts.CheckedBuilder<NxActionEncapRpcUpdateFlowUpdatedWriteActionsCase,IllegalArgumentException>Copyright © 2020 OpenDaylight. All rights reserved.