public class SetDlDstCaseBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<SetDlDstCase>
SetDlDstCaseBuilder
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:
SetDlDstCaseBuilder createTarget(int fooXyzzy, int barBaz) {
return new SetDlDstCaseBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of SetDlDstCaseBuilder, 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 methodSetDlDstCaseBuilder
,
Builder
Constructor and Description |
---|
SetDlDstCaseBuilder() |
SetDlDstCaseBuilder(SetDlDstCase base) |
Modifier and Type | Method and Description |
---|---|
SetDlDstCaseBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<SetDlDstCase>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<SetDlDstCase> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<SetDlDstCase>> |
augmentation(Class<E$$> augmentationType) |
SetDlDstCase |
build() |
SetDlDstAction |
getSetDlDstAction() |
SetDlDstCaseBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<SetDlDstCase>> augmentationType) |
SetDlDstCaseBuilder |
setSetDlDstAction(SetDlDstAction value) |
public SetDlDstCaseBuilder()
public SetDlDstCaseBuilder(SetDlDstCase base)
public SetDlDstAction getSetDlDstAction()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<SetDlDstCase>> E$$ augmentation(Class<E$$> augmentationType)
public SetDlDstCaseBuilder setSetDlDstAction(SetDlDstAction value)
public SetDlDstCaseBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<SetDlDstCase>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<SetDlDstCase> augmentationValue)
public SetDlDstCaseBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<SetDlDstCase>> augmentationType)
public SetDlDstCase build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<SetDlDstCase,IllegalArgumentException>
Copyright © 2020 OpenDaylight. All rights reserved.