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