public class RemoveFlowsDsInputBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<RemoveFlowsDsInput>
RemoveFlowsDsInputBuilder
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:
RemoveFlowsDsInputBuilder createTarget(int fooXyzzy, int barBaz) {
return new RemoveFlowsDsInputBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of RemoveFlowsDsInputBuilder, 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 methodRemoveFlowsDsInputBuilder
,
Builder
Constructor and Description |
---|
RemoveFlowsDsInputBuilder() |
RemoveFlowsDsInputBuilder(BulkFlowDsListGrouping arg) |
RemoveFlowsDsInputBuilder(RemoveFlowsDsInput base) |
Modifier and Type | Method and Description |
---|---|
RemoveFlowsDsInputBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<RemoveFlowsDsInput>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<RemoveFlowsDsInput> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<RemoveFlowsDsInput>> |
augmentation(Class<E$$> augmentationType) |
RemoveFlowsDsInput |
build() |
void |
fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
Set fields from given grouping argument.
|
List<BulkFlowDsItem> |
getBulkFlowDsItem() |
RemoveFlowsDsInputBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<RemoveFlowsDsInput>> augmentationType) |
RemoveFlowsDsInputBuilder |
setBulkFlowDsItem(List<BulkFlowDsItem> values) |
public RemoveFlowsDsInputBuilder()
public RemoveFlowsDsInputBuilder(BulkFlowDsListGrouping arg)
public RemoveFlowsDsInputBuilder(RemoveFlowsDsInput base)
public void fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
arg
- grouping objectIllegalArgumentException
- if given argument is none of valid typespublic List<BulkFlowDsItem> getBulkFlowDsItem()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<RemoveFlowsDsInput>> E$$ augmentation(Class<E$$> augmentationType)
public RemoveFlowsDsInputBuilder setBulkFlowDsItem(List<BulkFlowDsItem> values)
public RemoveFlowsDsInputBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<RemoveFlowsDsInput>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<RemoveFlowsDsInput> augmentationValue)
public RemoveFlowsDsInputBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<RemoveFlowsDsInput>> augmentationType)
public RemoveFlowsDsInput build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<RemoveFlowsDsInput,IllegalArgumentException>
Copyright © 2020 OpenDaylight. All rights reserved.