public class RemoveMetersBatchInputBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<RemoveMetersBatchInput>
RemoveMetersBatchInputBuilder
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:
RemoveMetersBatchInputBuilder createTarget(int fooXyzzy, int barBaz) {
return new RemoveMetersBatchInputBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of RemoveMetersBatchInputBuilder, 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 methodRemoveMetersBatchInputBuilder
,
Builder
Constructor and Description |
---|
RemoveMetersBatchInputBuilder() |
RemoveMetersBatchInputBuilder(BarrierSuffix arg) |
RemoveMetersBatchInputBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeContextRef arg) |
RemoveMetersBatchInputBuilder(RemoveMetersBatchInput base) |
Modifier and Type | Method and Description |
---|---|
RemoveMetersBatchInputBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<RemoveMetersBatchInput>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<RemoveMetersBatchInput> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<RemoveMetersBatchInput>> |
augmentation(Class<E$$> augmentationType) |
RemoveMetersBatchInput |
build() |
void |
fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
Set fields from given grouping argument.
|
List<BatchRemoveMeters> |
getBatchRemoveMeters() |
org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeRef |
getNode() |
Boolean |
isBarrierAfter() |
RemoveMetersBatchInputBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<RemoveMetersBatchInput>> augmentationType) |
RemoveMetersBatchInputBuilder |
setBarrierAfter(Boolean value) |
RemoveMetersBatchInputBuilder |
setBatchRemoveMeters(List<BatchRemoveMeters> values) |
RemoveMetersBatchInputBuilder |
setNode(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeRef value) |
public RemoveMetersBatchInputBuilder()
public RemoveMetersBatchInputBuilder(BarrierSuffix arg)
public RemoveMetersBatchInputBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeContextRef arg)
public RemoveMetersBatchInputBuilder(RemoveMetersBatchInput base)
public void fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
arg
- grouping objectIllegalArgumentException
- if given argument is none of valid typespublic List<BatchRemoveMeters> getBatchRemoveMeters()
public org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeRef getNode()
public Boolean isBarrierAfter()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<RemoveMetersBatchInput>> E$$ augmentation(Class<E$$> augmentationType)
public RemoveMetersBatchInputBuilder setBatchRemoveMeters(List<BatchRemoveMeters> values)
public RemoveMetersBatchInputBuilder setNode(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeRef value)
public RemoveMetersBatchInputBuilder setBarrierAfter(Boolean value)
public RemoveMetersBatchInputBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<RemoveMetersBatchInput>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<RemoveMetersBatchInput> augmentationValue)
public RemoveMetersBatchInputBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<RemoveMetersBatchInput>> augmentationType)
public RemoveMetersBatchInput build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<RemoveMetersBatchInput,IllegalArgumentException>
Copyright © 2019 OpenDaylight. All rights reserved.