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