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