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