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