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