public class SendNeighborSolicitationInputBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<SendNeighborSolicitationInput>
SendNeighborSolicitationInputBuilder
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:
SendNeighborSolicitationInputBuilder createTarget(int fooXyzzy, int barBaz) {
return new SendNeighborSolicitationInputBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of SendNeighborSolicitationInputBuilder, 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 methodSendNeighborSolicitationInputBuilder
,
Builder
Constructor and Description |
---|
SendNeighborSolicitationInputBuilder() |
SendNeighborSolicitationInputBuilder(Interfaces arg) |
SendNeighborSolicitationInputBuilder(SendNeighborSolicitationInput base) |
Modifier and Type | Method and Description |
---|---|
SendNeighborSolicitationInputBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<SendNeighborSolicitationInput>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<SendNeighborSolicitationInput> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<SendNeighborSolicitationInput>> |
augmentation(Class<E$$> augmentationType) |
SendNeighborSolicitationInput |
build() |
void |
fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
Set fields from given grouping argument.
|
List<InterfaceAddress> |
getInterfaceAddress() |
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Address |
getTargetIpAddress() |
SendNeighborSolicitationInputBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<SendNeighborSolicitationInput>> augmentationType) |
SendNeighborSolicitationInputBuilder |
setInterfaceAddress(List<InterfaceAddress> values) |
SendNeighborSolicitationInputBuilder |
setTargetIpAddress(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Address value) |
public SendNeighborSolicitationInputBuilder()
public SendNeighborSolicitationInputBuilder(Interfaces arg)
public SendNeighborSolicitationInputBuilder(SendNeighborSolicitationInput base)
public void fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
arg
- grouping objectIllegalArgumentException
- if given argument is none of valid typespublic List<InterfaceAddress> getInterfaceAddress()
public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Address getTargetIpAddress()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<SendNeighborSolicitationInput>> E$$ augmentation(Class<E$$> augmentationType)
public SendNeighborSolicitationInputBuilder setInterfaceAddress(List<InterfaceAddress> values)
public SendNeighborSolicitationInputBuilder setTargetIpAddress(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Address value)
public SendNeighborSolicitationInputBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<SendNeighborSolicitationInput>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<SendNeighborSolicitationInput> augmentationValue)
public SendNeighborSolicitationInputBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<SendNeighborSolicitationInput>> augmentationType)
public SendNeighborSolicitationInput build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<SendNeighborSolicitationInput,IllegalArgumentException>
Copyright © 2019 OpenDaylight. All rights reserved.