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