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