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