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