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