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