public class GetDpnEndpointIpsOutputBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<GetDpnEndpointIpsOutput>
GetDpnEndpointIpsOutputBuilder
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:
GetDpnEndpointIpsOutputBuilder createTarget(int fooXyzzy, int barBaz) {
return new GetDpnEndpointIpsOutputBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of GetDpnEndpointIpsOutputBuilder, 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 methodGetDpnEndpointIpsOutputBuilder
,
Builder
Constructor and Description |
---|
GetDpnEndpointIpsOutputBuilder() |
GetDpnEndpointIpsOutputBuilder(GetDpnEndpointIpsOutput base) |
Modifier and Type | Method and Description |
---|---|
GetDpnEndpointIpsOutputBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GetDpnEndpointIpsOutput>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<GetDpnEndpointIpsOutput> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<GetDpnEndpointIpsOutput>> |
augmentation(Class<E$$> augmentationType) |
GetDpnEndpointIpsOutput |
build() |
List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress> |
getNexthopipList() |
GetDpnEndpointIpsOutputBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GetDpnEndpointIpsOutput>> augmentationType) |
GetDpnEndpointIpsOutputBuilder |
setNexthopipList(List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress> values) |
public GetDpnEndpointIpsOutputBuilder()
public GetDpnEndpointIpsOutputBuilder(GetDpnEndpointIpsOutput base)
public List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress> getNexthopipList()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<GetDpnEndpointIpsOutput>> E$$ augmentation(Class<E$$> augmentationType)
public GetDpnEndpointIpsOutputBuilder setNexthopipList(List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress> values)
public GetDpnEndpointIpsOutputBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GetDpnEndpointIpsOutput>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<GetDpnEndpointIpsOutput> augmentationValue)
public GetDpnEndpointIpsOutputBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GetDpnEndpointIpsOutput>> augmentationType)
public GetDpnEndpointIpsOutput build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<GetDpnEndpointIpsOutput,IllegalArgumentException>
Copyright © 2019 OpenDaylight. All rights reserved.