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