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