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