All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardNumericalAggregationFunction.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.quicksight.kotlin.outputs

import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardSimpleNumericalAggregationFunction
import kotlin.Suppress

/**
 *
 * @property percentileAggregation An aggregation based on the percentile of values in a dimension or measure.
 * @property simpleNumericalAggregation Built-in aggregation functions for numerical values.
 * - `SUM` : The sum of a dimension or measure.
 * - `AVERAGE` : The average of a dimension or measure.
 * - `MIN` : The minimum value of a dimension or measure.
 * - `MAX` : The maximum value of a dimension or measure.
 * - `COUNT` : The count of a dimension or measure.
 * - `DISTINCT_COUNT` : The count of distinct values in a dimension or measure.
 * - `VAR` : The variance of a dimension or measure.
 * - `VARP` : The partitioned variance of a dimension or measure.
 * - `STDEV` : The standard deviation of a dimension or measure.
 * - `STDEVP` : The partitioned standard deviation of a dimension or measure.
 * - `MEDIAN` : The median value of a dimension or measure.
 */
public data class DashboardNumericalAggregationFunction(
    public val percentileAggregation: DashboardPercentileAggregation? = null,
    public val simpleNumericalAggregation: DashboardSimpleNumericalAggregationFunction? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.DashboardNumericalAggregationFunction): DashboardNumericalAggregationFunction = DashboardNumericalAggregationFunction(
            percentileAggregation = javaType.percentileAggregation().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardPercentileAggregation.Companion.toKotlin(args0)
                })
            }).orElse(null),
            simpleNumericalAggregation = javaType.simpleNumericalAggregation().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.DashboardSimpleNumericalAggregationFunction.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy