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