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