Package org.opennms.netmgt.flows.api
Class TrafficSummary.Builder<T>
- java.lang.Object
-
- org.opennms.netmgt.flows.api.TrafficSummary.Builder<T>
-
- Enclosing class:
- TrafficSummary<T>
public static class TrafficSummary.Builder<T> extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TrafficSummary<T>build()TrafficSummary.Builder<T>withBytes(long bytesIn, long bytesOut)TrafficSummary.Builder<T>withBytesAndEcnInfo(TrafficSummary<?> source)TrafficSummary.Builder<T>withBytesIn(long bytesIn)TrafficSummary.Builder<T>withBytesOut(long bytesOut)TrafficSummary.Builder<T>withCongestionEncountered(boolean congestionEncountered)TrafficSummary.Builder<T>withEcnInfo(io.searchbox.core.search.aggregation.MetricAggregation outerAgg)TrafficSummary.Builder<T>withEcnInfo(TrafficSummary ts)TrafficSummary.Builder<T>withEntity(T entity)TrafficSummary.Builder<T>withNonEcnCapableTransport(boolean nonEcnCapableTransport)
-
-
-
Method Detail
-
withEntity
public TrafficSummary.Builder<T> withEntity(T entity)
-
withBytesIn
public TrafficSummary.Builder<T> withBytesIn(long bytesIn)
-
withBytesOut
public TrafficSummary.Builder<T> withBytesOut(long bytesOut)
-
withCongestionEncountered
public TrafficSummary.Builder<T> withCongestionEncountered(boolean congestionEncountered)
-
withNonEcnCapableTransport
public TrafficSummary.Builder<T> withNonEcnCapableTransport(boolean nonEcnCapableTransport)
-
withEcnInfo
public TrafficSummary.Builder<T> withEcnInfo(TrafficSummary ts)
-
withEcnInfo
public TrafficSummary.Builder<T> withEcnInfo(io.searchbox.core.search.aggregation.MetricAggregation outerAgg)
-
withBytes
public TrafficSummary.Builder<T> withBytes(long bytesIn, long bytesOut)
-
withBytesAndEcnInfo
public TrafficSummary.Builder<T> withBytesAndEcnInfo(TrafficSummary<?> source)
-
build
public TrafficSummary<T> build()
-
-