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