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