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