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