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