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