public class HwvtepGlobalAugmentationBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<HwvtepGlobalAugmentation>
HwvtepGlobalAugmentationBuilder
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:
HwvtepGlobalAugmentationBuilder createTarget(int fooXyzzy, int barBaz) {
return new HwvtepGlobalAugmentationBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of HwvtepGlobalAugmentationBuilder, 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 methodHwvtepGlobalAugmentationBuilder
,
Builder
Constructor and Description |
---|
HwvtepGlobalAugmentationBuilder() |
HwvtepGlobalAugmentationBuilder(HwvtepGlobalAttributes arg) |
HwvtepGlobalAugmentationBuilder(HwvtepGlobalAugmentation base) |
public HwvtepGlobalAugmentationBuilder()
public HwvtepGlobalAugmentationBuilder(HwvtepGlobalAttributes arg)
public HwvtepGlobalAugmentationBuilder(HwvtepGlobalAugmentation base)
public void fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
arg
- grouping objectIllegalArgumentException
- if given argument is none of valid typespublic ConnectionInfo getConnectionInfo()
public String getDbVersion()
public List<LocalArpSources> getLocalArpSources()
public List<LocalMcastMacs> getLocalMcastMacs()
public List<LocalUcastMacs> getLocalUcastMacs()
public List<LogicalBindingStats> getLogicalBindingStats()
public List<LogicalRouters> getLogicalRouters()
public List<LogicalSwitches> getLogicalSwitches()
public List<RemoteArpSources> getRemoteArpSources()
public List<RemoteMcastMacs> getRemoteMcastMacs()
public List<RemoteUcastMacs> getRemoteUcastMacs()
public HwvtepGlobalAugmentationBuilder setAcls(List<Acls> values)
public HwvtepGlobalAugmentationBuilder setConnectionInfo(ConnectionInfo value)
public HwvtepGlobalAugmentationBuilder setDbVersion(String value)
public HwvtepGlobalAugmentationBuilder setLocalArpSources(List<LocalArpSources> values)
public HwvtepGlobalAugmentationBuilder setLocalMcastMacs(List<LocalMcastMacs> values)
public HwvtepGlobalAugmentationBuilder setLocalUcastMacs(List<LocalUcastMacs> values)
public HwvtepGlobalAugmentationBuilder setLogicalBindingStats(List<LogicalBindingStats> values)
public HwvtepGlobalAugmentationBuilder setLogicalRouters(List<LogicalRouters> values)
public HwvtepGlobalAugmentationBuilder setLogicalSwitches(List<LogicalSwitches> values)
public HwvtepGlobalAugmentationBuilder setManagers(List<Managers> values)
public HwvtepGlobalAugmentationBuilder setRemoteArpSources(List<RemoteArpSources> values)
public HwvtepGlobalAugmentationBuilder setRemoteMcastMacs(List<RemoteMcastMacs> values)
public HwvtepGlobalAugmentationBuilder setRemoteUcastMacs(List<RemoteUcastMacs> values)
public HwvtepGlobalAugmentationBuilder setSwitches(List<Switches> values)
public HwvtepGlobalAugmentation build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<HwvtepGlobalAugmentation,IllegalArgumentException>
Copyright © 2019 OpenDaylight. All rights reserved.