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