public class QueueStatisticsUpdateBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<QueueStatisticsUpdate>
QueueStatisticsUpdateBuilder
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:
QueueStatisticsUpdateBuilder createTarget(int fooXyzzy, int barBaz) {
return new QueueStatisticsUpdateBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of QueueStatisticsUpdateBuilder, 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 methodQueueStatisticsUpdateBuilder
,
Builder
Constructor and Description |
---|
QueueStatisticsUpdateBuilder() |
QueueStatisticsUpdateBuilder(MultipartTransactionAware arg) |
QueueStatisticsUpdateBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.Node arg) |
QueueStatisticsUpdateBuilder(QueueIdAndStatisticsMap arg) |
QueueStatisticsUpdateBuilder(QueueStatisticsUpdate base) |
QueueStatisticsUpdateBuilder(TransactionAware arg) |
Modifier and Type | Method and Description |
---|---|
QueueStatisticsUpdateBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<QueueStatisticsUpdate>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<QueueStatisticsUpdate> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<QueueStatisticsUpdate>> |
augmentation(Class<E$$> augmentationType) |
QueueStatisticsUpdate |
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<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.node.NodeConnector> |
getNodeConnector() |
List<QueueIdAndStatisticsMap> |
getQueueIdAndStatisticsMap() |
TransactionId |
getTransactionId() |
Boolean |
isMoreReplies() |
QueueStatisticsUpdateBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<QueueStatisticsUpdate>> augmentationType) |
QueueStatisticsUpdateBuilder |
setId(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId value) |
QueueStatisticsUpdateBuilder |
setMoreReplies(Boolean value) |
QueueStatisticsUpdateBuilder |
setNodeConnector(List<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.node.NodeConnector> values) |
QueueStatisticsUpdateBuilder |
setQueueIdAndStatisticsMap(List<QueueIdAndStatisticsMap> values) |
QueueStatisticsUpdateBuilder |
setTransactionId(TransactionId value) |
public QueueStatisticsUpdateBuilder()
public QueueStatisticsUpdateBuilder(MultipartTransactionAware arg)
public QueueStatisticsUpdateBuilder(TransactionAware arg)
public QueueStatisticsUpdateBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.Node arg)
public QueueStatisticsUpdateBuilder(QueueIdAndStatisticsMap arg)
public QueueStatisticsUpdateBuilder(QueueStatisticsUpdate 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<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.node.NodeConnector> getNodeConnector()
public List<QueueIdAndStatisticsMap> getQueueIdAndStatisticsMap()
public TransactionId getTransactionId()
public Boolean isMoreReplies()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<QueueStatisticsUpdate>> E$$ augmentation(Class<E$$> augmentationType)
public QueueStatisticsUpdateBuilder setId(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId value)
public QueueStatisticsUpdateBuilder setNodeConnector(List<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.node.NodeConnector> values)
public QueueStatisticsUpdateBuilder setQueueIdAndStatisticsMap(List<QueueIdAndStatisticsMap> values)
public QueueStatisticsUpdateBuilder setTransactionId(TransactionId value)
public QueueStatisticsUpdateBuilder setMoreReplies(Boolean value)
public QueueStatisticsUpdateBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<QueueStatisticsUpdate>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<QueueStatisticsUpdate> augmentationValue)
public QueueStatisticsUpdateBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<QueueStatisticsUpdate>> augmentationType)
public QueueStatisticsUpdate build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<QueueStatisticsUpdate,IllegalArgumentException>
Copyright © 2020 OpenDaylight. All rights reserved.