public class MeterConfigStatsUpdatedBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<MeterConfigStatsUpdated>
MeterConfigStatsUpdatedBuilder
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:
MeterConfigStatsUpdatedBuilder createTarget(int fooXyzzy, int barBaz) {
return new MeterConfigStatsUpdatedBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of MeterConfigStatsUpdatedBuilder, 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 methodMeterConfigStatsUpdatedBuilder
,
Builder
Constructor and Description |
---|
MeterConfigStatsUpdatedBuilder() |
MeterConfigStatsUpdatedBuilder(MeterConfigStatsReply arg) |
MeterConfigStatsUpdatedBuilder(MeterConfigStatsUpdated base) |
MeterConfigStatsUpdatedBuilder(MultipartTransactionAware arg) |
MeterConfigStatsUpdatedBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.Node arg) |
MeterConfigStatsUpdatedBuilder(TransactionAware arg) |
Modifier and Type | Method and Description |
---|---|
MeterConfigStatsUpdatedBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<MeterConfigStatsUpdated>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<MeterConfigStatsUpdated> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<MeterConfigStatsUpdated>> |
augmentation(Class<E$$> augmentationType) |
MeterConfigStatsUpdated |
build() |
void |
fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
Set fields from given grouping argument.
|
org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId |
getId() |
List<MeterConfigStats> |
getMeterConfigStats() |
List<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.node.NodeConnector> |
getNodeConnector() |
TransactionId |
getTransactionId() |
Boolean |
isMoreReplies() |
MeterConfigStatsUpdatedBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<MeterConfigStatsUpdated>> augmentationType) |
MeterConfigStatsUpdatedBuilder |
setId(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId value) |
MeterConfigStatsUpdatedBuilder |
setMeterConfigStats(List<MeterConfigStats> values) |
MeterConfigStatsUpdatedBuilder |
setMoreReplies(Boolean value) |
MeterConfigStatsUpdatedBuilder |
setNodeConnector(List<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.node.NodeConnector> values) |
MeterConfigStatsUpdatedBuilder |
setTransactionId(TransactionId value) |
public MeterConfigStatsUpdatedBuilder()
public MeterConfigStatsUpdatedBuilder(MultipartTransactionAware arg)
public MeterConfigStatsUpdatedBuilder(TransactionAware arg)
public MeterConfigStatsUpdatedBuilder(MeterConfigStatsReply arg)
public MeterConfigStatsUpdatedBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.Node arg)
public MeterConfigStatsUpdatedBuilder(MeterConfigStatsUpdated base)
public void fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
arg
- grouping objectIllegalArgumentException
- if given argument is none of valid typespublic org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId getId()
public List<MeterConfigStats> getMeterConfigStats()
public List<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.node.NodeConnector> getNodeConnector()
public TransactionId getTransactionId()
public Boolean isMoreReplies()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<MeterConfigStatsUpdated>> E$$ augmentation(Class<E$$> augmentationType)
public MeterConfigStatsUpdatedBuilder setId(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId value)
public MeterConfigStatsUpdatedBuilder setMeterConfigStats(List<MeterConfigStats> values)
public MeterConfigStatsUpdatedBuilder setNodeConnector(List<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.node.NodeConnector> values)
public MeterConfigStatsUpdatedBuilder setTransactionId(TransactionId value)
public MeterConfigStatsUpdatedBuilder setMoreReplies(Boolean value)
public MeterConfigStatsUpdatedBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<MeterConfigStatsUpdated>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<MeterConfigStatsUpdated> augmentationValue)
public MeterConfigStatsUpdatedBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<MeterConfigStatsUpdated>> augmentationType)
public MeterConfigStatsUpdated build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<MeterConfigStatsUpdated,IllegalArgumentException>
Copyright © 2020 OpenDaylight. All rights reserved.