public class NotHostedTransportZonesBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<NotHostedTransportZones>
NotHostedTransportZonesBuilder
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:
NotHostedTransportZonesBuilder createTarget(int fooXyzzy, int barBaz) {
return new NotHostedTransportZonesBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of NotHostedTransportZonesBuilder, 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 methodNotHostedTransportZonesBuilder
,
Builder
Constructor and Description |
---|
NotHostedTransportZonesBuilder() |
NotHostedTransportZonesBuilder(NotHostedTransportZones base) |
Modifier and Type | Method and Description |
---|---|
NotHostedTransportZonesBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<NotHostedTransportZones>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<NotHostedTransportZones> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<NotHostedTransportZones>> |
augmentation(Class<E$$> augmentationType) |
NotHostedTransportZones |
build() |
List<TepsInNotHostedTransportZone> |
getTepsInNotHostedTransportZone() |
NotHostedTransportZonesBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<NotHostedTransportZones>> augmentationType) |
NotHostedTransportZonesBuilder |
setTepsInNotHostedTransportZone(List<TepsInNotHostedTransportZone> values) |
public NotHostedTransportZonesBuilder()
public NotHostedTransportZonesBuilder(NotHostedTransportZones base)
public List<TepsInNotHostedTransportZone> getTepsInNotHostedTransportZone()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<NotHostedTransportZones>> E$$ augmentation(Class<E$$> augmentationType)
public NotHostedTransportZonesBuilder setTepsInNotHostedTransportZone(List<TepsInNotHostedTransportZone> values)
public NotHostedTransportZonesBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<NotHostedTransportZones>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<NotHostedTransportZones> augmentationValue)
public NotHostedTransportZonesBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<NotHostedTransportZones>> augmentationType)
public NotHostedTransportZones build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<NotHostedTransportZones,IllegalArgumentException>
Copyright © 2019 OpenDaylight. All rights reserved.