Class AssetAggregation.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • 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