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