public class RemoteUcastMacsBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<RemoteUcastMacs>
RemoteUcastMacsBuilder
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:
RemoteUcastMacsBuilder createTarget(int fooXyzzy, int barBaz) {
return new RemoteUcastMacsBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of RemoteUcastMacsBuilder, 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 methodRemoteUcastMacsBuilder
,
Builder
Constructor and Description |
---|
RemoteUcastMacsBuilder() |
RemoteUcastMacsBuilder(HwvtepMacTableGenericAttributes arg) |
RemoteUcastMacsBuilder(HwvtepUcastMacTableAttributes arg) |
RemoteUcastMacsBuilder(RemoteUcastMacs base) |
Modifier and Type | Method and Description |
---|---|
RemoteUcastMacsBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<RemoteUcastMacs>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<RemoteUcastMacs> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<RemoteUcastMacs>> |
augmentation(Class<E$$> augmentationType) |
RemoteUcastMacs |
build() |
void |
fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
Set fields from given grouping argument.
|
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress |
getIpaddr() |
HwvtepPhysicalLocatorRef |
getLocatorRef() |
HwvtepLogicalSwitchRef |
getLogicalSwitchRef() |
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress |
getMacEntryKey() |
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid |
getMacEntryUuid() |
RemoteUcastMacsKey |
key() |
RemoteUcastMacsBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<RemoteUcastMacs>> augmentationType) |
RemoteUcastMacsBuilder |
setIpaddr(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress value) |
RemoteUcastMacsBuilder |
setLocatorRef(HwvtepPhysicalLocatorRef value) |
RemoteUcastMacsBuilder |
setLogicalSwitchRef(HwvtepLogicalSwitchRef value) |
RemoteUcastMacsBuilder |
setMacEntryKey(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress value) |
RemoteUcastMacsBuilder |
setMacEntryUuid(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid value) |
RemoteUcastMacsBuilder |
withKey(RemoteUcastMacsKey key) |
public RemoteUcastMacsBuilder()
public RemoteUcastMacsBuilder(HwvtepMacTableGenericAttributes arg)
public RemoteUcastMacsBuilder(HwvtepUcastMacTableAttributes arg)
public RemoteUcastMacsBuilder(RemoteUcastMacs base)
public void fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
arg
- grouping objectIllegalArgumentException
- if given argument is none of valid typespublic RemoteUcastMacsKey key()
public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress getIpaddr()
public HwvtepPhysicalLocatorRef getLocatorRef()
public HwvtepLogicalSwitchRef getLogicalSwitchRef()
public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress getMacEntryKey()
public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getMacEntryUuid()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<RemoteUcastMacs>> E$$ augmentation(Class<E$$> augmentationType)
public RemoteUcastMacsBuilder withKey(RemoteUcastMacsKey key)
public RemoteUcastMacsBuilder setIpaddr(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress value)
public RemoteUcastMacsBuilder setLocatorRef(HwvtepPhysicalLocatorRef value)
public RemoteUcastMacsBuilder setLogicalSwitchRef(HwvtepLogicalSwitchRef value)
public RemoteUcastMacsBuilder setMacEntryKey(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress value)
public RemoteUcastMacsBuilder setMacEntryUuid(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid value)
public RemoteUcastMacsBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<RemoteUcastMacs>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<RemoteUcastMacs> augmentationValue)
public RemoteUcastMacsBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<RemoteUcastMacs>> augmentationType)
public RemoteUcastMacs build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<RemoteUcastMacs,IllegalArgumentException>
Copyright © 2019 OpenDaylight. All rights reserved.