public class NxActionMultipathRpcAddFlowApplyActionsCaseBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<NxActionMultipathRpcAddFlowApplyActionsCase>
NxActionMultipathRpcAddFlowApplyActionsCaseBuilder
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:
NxActionMultipathRpcAddFlowApplyActionsCaseBuilder createTarget(int fooXyzzy, int barBaz) {
return new NxActionMultipathRpcAddFlowApplyActionsCaseBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of NxActionMultipathRpcAddFlowApplyActionsCaseBuilder, 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 methodNxActionMultipathRpcAddFlowApplyActionsCaseBuilder
,
Builder
Constructor and Description |
---|
NxActionMultipathRpcAddFlowApplyActionsCaseBuilder() |
NxActionMultipathRpcAddFlowApplyActionsCaseBuilder(NxActionMultipathGrouping arg) |
NxActionMultipathRpcAddFlowApplyActionsCaseBuilder(NxActionMultipathRpcAddFlowApplyActionsCase base) |
public NxActionMultipathRpcAddFlowApplyActionsCaseBuilder()
public NxActionMultipathRpcAddFlowApplyActionsCaseBuilder(NxActionMultipathGrouping arg)
public NxActionMultipathRpcAddFlowApplyActionsCaseBuilder(NxActionMultipathRpcAddFlowApplyActionsCase 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<NxActionMultipathRpcAddFlowApplyActionsCase>> E$$ augmentation(Class<E$$> augmentationType)
public NxActionMultipathRpcAddFlowApplyActionsCaseBuilder setNxMultipath(NxMultipath value)
public NxActionMultipathRpcAddFlowApplyActionsCaseBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<NxActionMultipathRpcAddFlowApplyActionsCase>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<NxActionMultipathRpcAddFlowApplyActionsCase> augmentationValue)
public NxActionMultipathRpcAddFlowApplyActionsCaseBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<NxActionMultipathRpcAddFlowApplyActionsCase>> augmentationType)
public NxActionMultipathRpcAddFlowApplyActionsCase build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<NxActionMultipathRpcAddFlowApplyActionsCase,IllegalArgumentException>
Copyright © 2020 OpenDaylight. All rights reserved.