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