public class GetFlowTablesStatisticsOutputBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<GetFlowTablesStatisticsOutput>
GetFlowTablesStatisticsOutputBuilder
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:
GetFlowTablesStatisticsOutputBuilder createTarget(int fooXyzzy, int barBaz) {
return new GetFlowTablesStatisticsOutputBuilderBuilder()
.setFoo(new FooBuilder().setXyzzy(fooXyzzy).build())
.setBar(new BarBuilder().setBaz(barBaz).build())
.build();
}
This pattern is supported by the immutable nature of GetFlowTablesStatisticsOutputBuilder, 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 methodGetFlowTablesStatisticsOutputBuilder
,
Builder
Constructor and Description |
---|
GetFlowTablesStatisticsOutputBuilder() |
GetFlowTablesStatisticsOutputBuilder(FlowTableAndStatisticsMap arg) |
GetFlowTablesStatisticsOutputBuilder(GetFlowTablesStatisticsOutput base) |
GetFlowTablesStatisticsOutputBuilder(TransactionAware arg) |
public GetFlowTablesStatisticsOutputBuilder()
public GetFlowTablesStatisticsOutputBuilder(FlowTableAndStatisticsMap arg)
public GetFlowTablesStatisticsOutputBuilder(TransactionAware arg)
public GetFlowTablesStatisticsOutputBuilder(GetFlowTablesStatisticsOutput base)
public void fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
arg
- grouping objectIllegalArgumentException
- if given argument is none of valid typespublic List<FlowTableAndStatisticsMap> getFlowTableAndStatisticsMap()
public TransactionId getTransactionId()
public <E$$ extends org.opendaylight.yangtools.yang.binding.Augmentation<GetFlowTablesStatisticsOutput>> E$$ augmentation(Class<E$$> augmentationType)
public GetFlowTablesStatisticsOutputBuilder setFlowTableAndStatisticsMap(List<FlowTableAndStatisticsMap> values)
public GetFlowTablesStatisticsOutputBuilder setTransactionId(TransactionId value)
public GetFlowTablesStatisticsOutputBuilder addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GetFlowTablesStatisticsOutput>> augmentationType, org.opendaylight.yangtools.yang.binding.Augmentation<GetFlowTablesStatisticsOutput> augmentationValue)
public GetFlowTablesStatisticsOutputBuilder removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<GetFlowTablesStatisticsOutput>> augmentationType)
public GetFlowTablesStatisticsOutput build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<GetFlowTablesStatisticsOutput,IllegalArgumentException>
Copyright © 2020 OpenDaylight. All rights reserved.