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