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