Package com.oracle.bmc.cloudbridge.model
Class AssetAggregation.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudbridge.model.AssetAggregation.Builder
-
- Enclosing class:
- AssetAggregation
public static class AssetAggregation.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
dimensions
public AssetAggregation.Builder dimensions(Map<String,String> dimensions)
The dimensions along which assets can be aggregated for analytics.- Parameters:
dimensions
- the value to set- Returns:
- this builder
-
count
public AssetAggregation.Builder count(Long count)
Returns the total number of observations from the group of assets.- Parameters:
count
- the value to set- Returns:
- this builder
-
max
public AssetAggregation.Builder max(Double max)
Returns the highest value from all the assets.- Parameters:
max
- the value to set- Returns:
- this builder
-
mean
public AssetAggregation.Builder mean(Double mean)
Returns the value of sum divided by count from the group of assets.- Parameters:
mean
- the value to set- Returns:
- this builder
-
min
public AssetAggregation.Builder min(Double min)
Returns the lowest value from the group of assets.- Parameters:
min
- the value to set- Returns:
- this builder
-
sum
public AssetAggregation.Builder sum(Double sum)
Returns all values added together from the group of assets.- Parameters:
sum
- the value to set- Returns:
- this builder
-
aggregatedProperty
public AssetAggregation.Builder aggregatedProperty(String aggregatedProperty)
Aggregated property.- Parameters:
aggregatedProperty
- the value to set- Returns:
- this builder
-
build
public AssetAggregation build()
-
copy
public AssetAggregation.Builder copy(AssetAggregation model)
-
-