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