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