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