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