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