
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateNumericalAggregationFunction.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.outputs
import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateSimpleNumericalAggregationFunction
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 TemplateNumericalAggregationFunction(
public val percentileAggregation: TemplatePercentileAggregation? = null,
public val simpleNumericalAggregation: TemplateSimpleNumericalAggregationFunction? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.TemplateNumericalAggregationFunction): TemplateNumericalAggregationFunction = TemplateNumericalAggregationFunction(
percentileAggregation = javaType.percentileAggregation().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplatePercentileAggregation.Companion.toKotlin(args0)
})
}).orElse(null),
simpleNumericalAggregation = javaType.simpleNumericalAggregation().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.TemplateSimpleNumericalAggregationFunction.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy