public class ArpRequestReceivedBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<ArpRequestReceived>
ArpRequestReceivedBuilder
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:
ArpRequestReceivedBuilder createTarget(int fooXyzzy, int barBaz) {
return new ArpRequestReceivedBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of ArpRequestReceivedBuilder, 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 methodArpRequestReceivedBuilder
,
Builder
Constructor and Description |
---|
ArpRequestReceivedBuilder() |
ArpRequestReceivedBuilder(ArpRequestReceived base) |
Modifier and Type | Method and Description |
---|---|
ArpRequestReceivedBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<ArpRequestReceived>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<ArpRequestReceived> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<ArpRequestReceived>> |
augmentation(Class<E$$> augmentationType) |
ArpRequestReceived |
build() |
BigInteger |
getDpnId() |
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress |
getDstIpaddress() |
String |
getInterface() |
BigInteger |
getMetadata() |
Long |
getOfTableId() |
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress |
getSrcIpaddress() |
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress |
getSrcMac() |
ArpRequestReceivedBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<ArpRequestReceived>> augmentationType) |
ArpRequestReceivedBuilder |
setDpnId(BigInteger value) |
ArpRequestReceivedBuilder |
setDstIpaddress(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress value) |
ArpRequestReceivedBuilder |
setInterface(String value) |
ArpRequestReceivedBuilder |
setMetadata(BigInteger value) |
ArpRequestReceivedBuilder |
setOfTableId(Long value) |
ArpRequestReceivedBuilder |
setSrcIpaddress(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress value) |
ArpRequestReceivedBuilder |
setSrcMac(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress value) |
public ArpRequestReceivedBuilder()
public ArpRequestReceivedBuilder(ArpRequestReceived base)
public BigInteger getDpnId()
public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress getDstIpaddress()
public String getInterface()
public BigInteger getMetadata()
public Long getOfTableId()
public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress getSrcIpaddress()
public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress getSrcMac()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<ArpRequestReceived>> E$$ augmentation(Class<E$$> augmentationType)
public ArpRequestReceivedBuilder setDpnId(BigInteger value)
public ArpRequestReceivedBuilder setDstIpaddress(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress value)
public ArpRequestReceivedBuilder setInterface(String value)
public ArpRequestReceivedBuilder setMetadata(BigInteger value)
public ArpRequestReceivedBuilder setOfTableId(Long value)
public ArpRequestReceivedBuilder setSrcIpaddress(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress value)
public ArpRequestReceivedBuilder setSrcMac(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress value)
public ArpRequestReceivedBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<ArpRequestReceived>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<ArpRequestReceived> augmentationValue)
public ArpRequestReceivedBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<ArpRequestReceived>> augmentationType)
public ArpRequestReceived build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<ArpRequestReceived,IllegalArgumentException>
Copyright © 2019 OpenDaylight. All rights reserved.