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