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