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 java.lang.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>
withBytesFrom(TrafficSummary<?> source)
TrafficSummary.Builder<T>
withBytesIn(long bytesIn)
TrafficSummary.Builder<T>
withBytesOut(long bytesOut)
TrafficSummary.Builder<T>
withEntity(T entity)
-
-
-
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)
-
withBytes
public TrafficSummary.Builder<T> withBytes(long bytesIn, long bytesOut)
-
withBytesFrom
public TrafficSummary.Builder<T> withBytesFrom(TrafficSummary<?> source)
-
build
public TrafficSummary<T> build()
-
-