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