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