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