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