![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardAggregationFunction.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.outputs
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardCategoricalAggregationFunction
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardDateAggregationFunction
import kotlin.Suppress
/**
*
* @property attributeAggregationFunction Aggregation for attributes.
* @property categoricalAggregationFunction Aggregation for categorical values.
* - `COUNT` : Aggregate by the total number of values, including duplicates.
* - `DISTINCT_COUNT` : Aggregate by the total number of distinct values.
* @property dateAggregationFunction Aggregation for date values.
* - `COUNT` : Aggregate by the total number of values, including duplicates.
* - `DISTINCT_COUNT` : Aggregate by the total number of distinct values.
* - `MIN` : Select the smallest date value.
* - `MAX` : Select the largest date value.
* @property numericalAggregationFunction Aggregation for numerical values.
*/
public data class DashboardAggregationFunction(
public val attributeAggregationFunction: DashboardAttributeAggregationFunction? = null,
public val categoricalAggregationFunction: DashboardCategoricalAggregationFunction? = null,
public val dateAggregationFunction: DashboardDateAggregationFunction? = null,
public val numericalAggregationFunction: DashboardNumericalAggregationFunction? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.DashboardAggregationFunction): DashboardAggregationFunction = DashboardAggregationFunction(
attributeAggregationFunction = javaType.attributeAggregationFunction().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardAttributeAggregationFunction.Companion.toKotlin(args0)
})
}).orElse(null),
categoricalAggregationFunction = javaType.categoricalAggregationFunction().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.DashboardCategoricalAggregationFunction.Companion.toKotlin(args0)
})
}).orElse(null),
dateAggregationFunction = javaType.dateAggregationFunction().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.DashboardDateAggregationFunction.Companion.toKotlin(args0)
})
}).orElse(null),
numericalAggregationFunction = javaType.numericalAggregationFunction().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardNumericalAggregationFunction.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy