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