Package step.plugins.timeseries.api
Class BucketResponseBuilder
- java.lang.Object
-
- step.plugins.timeseries.api.BucketResponseBuilder
-
public final class BucketResponseBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description BucketResponseBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BucketResponse
build()
BucketResponseBuilder
withAttributes(step.core.timeseries.BucketAttributes attributes)
BucketResponseBuilder
withBegin(long begin)
BucketResponseBuilder
withCount(long count)
BucketResponseBuilder
withMax(long max)
BucketResponseBuilder
withMin(long min)
BucketResponseBuilder
withPclValues(Map<Integer,Long> withPclValues)
BucketResponseBuilder
withSum(long sum)
BucketResponseBuilder
withThroughputPerHour(long throughputPerHour)
-
-
-
Method Detail
-
withBegin
public BucketResponseBuilder withBegin(long begin)
-
withAttributes
public BucketResponseBuilder withAttributes(step.core.timeseries.BucketAttributes attributes)
-
withCount
public BucketResponseBuilder withCount(long count)
-
withSum
public BucketResponseBuilder withSum(long sum)
-
withMin
public BucketResponseBuilder withMin(long min)
-
withMax
public BucketResponseBuilder withMax(long max)
-
withPclValues
public BucketResponseBuilder withPclValues(Map<Integer,Long> withPclValues)
-
withThroughputPerHour
public BucketResponseBuilder withThroughputPerHour(long throughputPerHour)
-
build
public BucketResponse build()
-
-