public static class AssetAggregation.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AssetAggregation.Builder |
aggregatedProperty(String aggregatedProperty)
Aggregated property.
|
AssetAggregation |
build() |
AssetAggregation.Builder |
copy(AssetAggregation model) |
AssetAggregation.Builder |
count(Long count)
Returns the total number of observations from the group of assets.
|
AssetAggregation.Builder |
dimensions(Map<String,String> dimensions)
The dimensions along which assets can be aggregated for analytics.
|
AssetAggregation.Builder |
max(Double max)
Returns the highest value from all the assets.
|
AssetAggregation.Builder |
mean(Double mean)
Returns the value of sum divided by count from the group of assets.
|
AssetAggregation.Builder |
min(Double min)
Returns the lowest value from the group of assets.
|
AssetAggregation.Builder |
sum(Double sum)
Returns all values added together from the group of assets.
|
public AssetAggregation.Builder dimensions(Map<String,String> dimensions)
The dimensions along which assets can be aggregated for analytics.
dimensions
- the value to setpublic AssetAggregation.Builder count(Long count)
Returns the total number of observations from the group of assets.
count
- the value to setpublic AssetAggregation.Builder max(Double max)
Returns the highest value from all the assets.
max
- the value to setpublic AssetAggregation.Builder mean(Double mean)
Returns the value of sum divided by count from the group of assets.
mean
- the value to setpublic AssetAggregation.Builder min(Double min)
Returns the lowest value from the group of assets.
min
- the value to setpublic AssetAggregation.Builder sum(Double sum)
Returns all values added together from the group of assets.
sum
- the value to setpublic AssetAggregation.Builder aggregatedProperty(String aggregatedProperty)
Aggregated property.
aggregatedProperty
- the value to setpublic AssetAggregation build()
public AssetAggregation.Builder copy(AssetAggregation model)
Copyright © 2016–2024. All rights reserved.