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