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