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