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