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