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