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