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