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