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