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