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