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