public class SrcNxTunIpv4DstCaseBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<SrcNxTunIpv4DstCase>
SrcNxTunIpv4DstCaseBuilder 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:
SrcNxTunIpv4DstCaseBuilder createTarget(int fooXyzzy, int barBaz) {
return new SrcNxTunIpv4DstCaseBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of SrcNxTunIpv4DstCaseBuilder, 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 methodSrcNxTunIpv4DstCaseBuilder,
Builder| Constructor and Description |
|---|
SrcNxTunIpv4DstCaseBuilder() |
SrcNxTunIpv4DstCaseBuilder(NxmNxTunIpv4DstGrouping arg) |
SrcNxTunIpv4DstCaseBuilder(SrcNxTunIpv4DstCase base) |
| Modifier and Type | Method and Description |
|---|---|
SrcNxTunIpv4DstCaseBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<SrcNxTunIpv4DstCase>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<SrcNxTunIpv4DstCase> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<SrcNxTunIpv4DstCase>> |
augmentation(Class<E$$> augmentationType) |
SrcNxTunIpv4DstCase |
build() |
void |
fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
Set fields from given grouping argument.
|
org.opendaylight.yangtools.yang.common.Empty |
getNxTunIpv4Dst() |
SrcNxTunIpv4DstCaseBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<SrcNxTunIpv4DstCase>> augmentationType) |
SrcNxTunIpv4DstCaseBuilder |
setNxTunIpv4Dst(org.opendaylight.yangtools.yang.common.Empty value) |
public SrcNxTunIpv4DstCaseBuilder()
public SrcNxTunIpv4DstCaseBuilder(NxmNxTunIpv4DstGrouping arg)
public SrcNxTunIpv4DstCaseBuilder(SrcNxTunIpv4DstCase base)
public void fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
arg - grouping objectIllegalArgumentException - if given argument is none of valid typespublic org.opendaylight.yangtools.yang.common.Empty getNxTunIpv4Dst()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<SrcNxTunIpv4DstCase>> E$$ augmentation(Class<E$$> augmentationType)
public SrcNxTunIpv4DstCaseBuilder setNxTunIpv4Dst(org.opendaylight.yangtools.yang.common.Empty value)
public SrcNxTunIpv4DstCaseBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<SrcNxTunIpv4DstCase>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<SrcNxTunIpv4DstCase> augmentationValue)
public SrcNxTunIpv4DstCaseBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<SrcNxTunIpv4DstCase>> augmentationType)
public SrcNxTunIpv4DstCase build()
build in interface org.opendaylight.yangtools.concepts.CheckedBuilder<SrcNxTunIpv4DstCase,IllegalArgumentException>Copyright © 2020 OpenDaylight. All rights reserved.