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