public class GetAllQueuesStatisticsFromGivenPortInputBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<GetAllQueuesStatisticsFromGivenPortInput>
GetAllQueuesStatisticsFromGivenPortInputBuilder
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:
GetAllQueuesStatisticsFromGivenPortInputBuilder createTarget(int fooXyzzy, int barBaz) {
return new GetAllQueuesStatisticsFromGivenPortInputBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of GetAllQueuesStatisticsFromGivenPortInputBuilder, 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 methodGetAllQueuesStatisticsFromGivenPortInputBuilder
,
Builder
Constructor and Description |
---|
GetAllQueuesStatisticsFromGivenPortInputBuilder() |
GetAllQueuesStatisticsFromGivenPortInputBuilder(GetAllQueuesStatisticsFromGivenPortInput base) |
GetAllQueuesStatisticsFromGivenPortInputBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeContextRef arg) |
Modifier and Type | Method and Description |
---|---|
GetAllQueuesStatisticsFromGivenPortInputBuilder |
addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GetAllQueuesStatisticsFromGivenPortInput>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<GetAllQueuesStatisticsFromGivenPortInput> augmentationValue) |
<E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<GetAllQueuesStatisticsFromGivenPortInput>> |
augmentation(Class<E$$> augmentationType) |
GetAllQueuesStatisticsFromGivenPortInput |
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.NodeRef |
getNode() |
org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorId |
getNodeConnectorId() |
GetAllQueuesStatisticsFromGivenPortInputBuilder |
removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GetAllQueuesStatisticsFromGivenPortInput>> augmentationType) |
GetAllQueuesStatisticsFromGivenPortInputBuilder |
setNode(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeRef value) |
GetAllQueuesStatisticsFromGivenPortInputBuilder |
setNodeConnectorId(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorId value) |
public GetAllQueuesStatisticsFromGivenPortInputBuilder()
public GetAllQueuesStatisticsFromGivenPortInputBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeContextRef arg)
public GetAllQueuesStatisticsFromGivenPortInputBuilder(GetAllQueuesStatisticsFromGivenPortInput 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.NodeRef getNode()
public org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorId getNodeConnectorId()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<GetAllQueuesStatisticsFromGivenPortInput>> E$$ augmentation(Class<E$$> augmentationType)
public GetAllQueuesStatisticsFromGivenPortInputBuilder setNode(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeRef value)
public GetAllQueuesStatisticsFromGivenPortInputBuilder setNodeConnectorId(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorId value)
public GetAllQueuesStatisticsFromGivenPortInputBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GetAllQueuesStatisticsFromGivenPortInput>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<GetAllQueuesStatisticsFromGivenPortInput> augmentationValue)
public GetAllQueuesStatisticsFromGivenPortInputBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GetAllQueuesStatisticsFromGivenPortInput>> augmentationType)
public GetAllQueuesStatisticsFromGivenPortInput build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<GetAllQueuesStatisticsFromGivenPortInput,IllegalArgumentException>
Copyright © 2020 OpenDaylight. All rights reserved.