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