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