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.BuilderaggregatedProperty(String aggregatedProperty)Aggregated property.AssetAggregationbuild()AssetAggregation.Buildercopy(AssetAggregation model)AssetAggregation.Buildercount(Long count)Returns the total number of observations from the group of assets.AssetAggregation.Builderdimensions(Map<String,String> dimensions)The dimensions along which assets can be aggregated for analytics.AssetAggregation.Buildermax(Double max)Returns the highest value from all the assets.AssetAggregation.Buildermean(Double mean)Returns the value of sum divided by count from the group of assets.AssetAggregation.Buildermin(Double min)Returns the lowest value from the group of assets.AssetAggregation.Buildersum(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)
-
-