public class OxmRelatedTableFeaturePropertyBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<OxmRelatedTableFeatureProperty>
OxmRelatedTableFeaturePropertyBuilder 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:
OxmRelatedTableFeaturePropertyBuilder createTarget(int fooXyzzy, int barBaz) {
return new OxmRelatedTableFeaturePropertyBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of OxmRelatedTableFeaturePropertyBuilder, 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 methodOxmRelatedTableFeaturePropertyBuilder,
Builder| Constructor and Description |
|---|
OxmRelatedTableFeaturePropertyBuilder() |
OxmRelatedTableFeaturePropertyBuilder(MatchEntriesGrouping arg) |
OxmRelatedTableFeaturePropertyBuilder(OxmRelatedTableFeatureProperty base) |
| Modifier and Type | Method and Description |
|---|---|
OxmRelatedTableFeatureProperty |
build() |
void |
fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
Set fields from given grouping argument.
|
List<MatchEntry> |
getMatchEntry() |
OxmRelatedTableFeaturePropertyBuilder |
setMatchEntry(List<MatchEntry> values) |
public OxmRelatedTableFeaturePropertyBuilder()
public OxmRelatedTableFeaturePropertyBuilder(MatchEntriesGrouping arg)
public OxmRelatedTableFeaturePropertyBuilder(OxmRelatedTableFeatureProperty base)
public void fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
arg - grouping objectIllegalArgumentException - if given argument is none of valid typespublic List<MatchEntry> getMatchEntry()
public OxmRelatedTableFeaturePropertyBuilder setMatchEntry(List<MatchEntry> values)
public OxmRelatedTableFeatureProperty build()
build in interface org.opendaylight.yangtools.concepts.CheckedBuilder<OxmRelatedTableFeatureProperty,IllegalArgumentException>Copyright © 2020 OpenDaylight. All rights reserved.