public class OvsdbNodeAugmentationBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<OvsdbNodeAugmentation>
OvsdbNodeAugmentationBuilder
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:
OvsdbNodeAugmentationBuilder createTarget(int fooXyzzy, int barBaz) {
return new OvsdbNodeAugmentationBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of OvsdbNodeAugmentationBuilder, 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 methodOvsdbNodeAugmentationBuilder
,
Builder
Constructor and Description |
---|
OvsdbNodeAugmentationBuilder() |
OvsdbNodeAugmentationBuilder(OvsdbNodeAttributes arg) |
OvsdbNodeAugmentationBuilder(OvsdbNodeAugmentation base) |
public OvsdbNodeAugmentationBuilder()
public OvsdbNodeAugmentationBuilder(OvsdbNodeAttributes arg)
public OvsdbNodeAugmentationBuilder(OvsdbNodeAugmentation base)
public void fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
arg
- grouping objectIllegalArgumentException
- if given argument is none of valid typespublic List<Autoattach> getAutoattach()
public ConnectionInfo getConnectionInfo()
public List<DatapathTypeEntry> getDatapathTypeEntry()
public String getDbVersion()
public List<InterfaceTypeEntry> getInterfaceTypeEntry()
public List<ManagedNodeEntry> getManagedNodeEntry()
public List<ManagerEntry> getManagerEntry()
public List<OpenvswitchExternalIds> getOpenvswitchExternalIds()
public List<OpenvswitchOtherConfigs> getOpenvswitchOtherConfigs()
public String getOvsVersion()
public List<QosEntries> getQosEntries()
public OvsdbNodeAugmentationBuilder setAutoattach(List<Autoattach> values)
public OvsdbNodeAugmentationBuilder setConnectionInfo(ConnectionInfo value)
public OvsdbNodeAugmentationBuilder setDatapathTypeEntry(List<DatapathTypeEntry> values)
public OvsdbNodeAugmentationBuilder setDbVersion(String value)
public OvsdbNodeAugmentationBuilder setInterfaceTypeEntry(List<InterfaceTypeEntry> values)
public OvsdbNodeAugmentationBuilder setManagedNodeEntry(List<ManagedNodeEntry> values)
public OvsdbNodeAugmentationBuilder setManagerEntry(List<ManagerEntry> values)
public OvsdbNodeAugmentationBuilder setOpenvswitchExternalIds(List<OpenvswitchExternalIds> values)
public OvsdbNodeAugmentationBuilder setOpenvswitchOtherConfigs(List<OpenvswitchOtherConfigs> values)
public OvsdbNodeAugmentationBuilder setOvsVersion(String value)
public OvsdbNodeAugmentationBuilder setQosEntries(List<QosEntries> values)
public OvsdbNodeAugmentationBuilder setQueues(List<Queues> values)
public OvsdbNodeAugmentation build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<OvsdbNodeAugmentation,IllegalArgumentException>
Copyright © 2019 OpenDaylight. All rights reserved.