public class TepsInNotHostedTransportZoneBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<TepsInNotHostedTransportZone>
TepsInNotHostedTransportZoneBuilder
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:
TepsInNotHostedTransportZoneBuilder createTarget(int fooXyzzy, int barBaz) {
return new TepsInNotHostedTransportZoneBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of TepsInNotHostedTransportZoneBuilder, 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 methodTepsInNotHostedTransportZoneBuilder
,
Builder
Constructor and Description |
---|
TepsInNotHostedTransportZoneBuilder() |
TepsInNotHostedTransportZoneBuilder(TepsInNotHostedTransportZone base) |
public TepsInNotHostedTransportZoneBuilder()
public TepsInNotHostedTransportZoneBuilder(TepsInNotHostedTransportZone base)
public TepsInNotHostedTransportZoneKey key()
public List<UnknownVteps> getUnknownVteps()
public String getZoneName()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<TepsInNotHostedTransportZone>> E$$ augmentation(Class<E$$> augmentationType)
public TepsInNotHostedTransportZoneBuilder withKey(TepsInNotHostedTransportZoneKey key)
public TepsInNotHostedTransportZoneBuilder setUnknownVteps(List<UnknownVteps> values)
public TepsInNotHostedTransportZoneBuilder setZoneName(String value)
public TepsInNotHostedTransportZoneBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<TepsInNotHostedTransportZone>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<TepsInNotHostedTransportZone> augmentationValue)
public TepsInNotHostedTransportZoneBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<TepsInNotHostedTransportZone>> augmentationType)
public TepsInNotHostedTransportZone build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<TepsInNotHostedTransportZone,IllegalArgumentException>
Copyright © 2019 OpenDaylight. All rights reserved.