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