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