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