Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.pulumi.awsnative.quicksight.kotlin.inputs.TopicNamedEntityDefinitionMetricArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.TopicNamedEntityDefinitionMetricArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.TopicNamedEntityAggType
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
*
* @property aggregation The aggregation of a named entity. Valid values for this structure are `SUM` , `MIN` , `MAX` , `COUNT` , `AVERAGE` , `DISTINCT_COUNT` , `STDEV` , `STDEVP` , `VAR` , `VARP` , `PERCENTILE` , `MEDIAN` , and `CUSTOM` .
* @property aggregationFunctionParameters The additional parameters for an aggregation function.
*/
public data class TopicNamedEntityDefinitionMetricArgs(
public val aggregation: Output? = null,
public val aggregationFunctionParameters: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TopicNamedEntityDefinitionMetricArgs = com.pulumi.awsnative.quicksight.inputs.TopicNamedEntityDefinitionMetricArgs.builder()
.aggregation(aggregation?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.aggregationFunctionParameters(
aggregationFunctionParameters?.applyValue({ args0 ->
args0.map({ args0 -> args0.key.to(args0.value) }).toMap()
}),
).build()
}
/**
* Builder for [TopicNamedEntityDefinitionMetricArgs].
*/
@PulumiTagMarker
public class TopicNamedEntityDefinitionMetricArgsBuilder internal constructor() {
private var aggregation: Output? = null
private var aggregationFunctionParameters: Output>? = null
/**
* @param value The aggregation of a named entity. Valid values for this structure are `SUM` , `MIN` , `MAX` , `COUNT` , `AVERAGE` , `DISTINCT_COUNT` , `STDEV` , `STDEVP` , `VAR` , `VARP` , `PERCENTILE` , `MEDIAN` , and `CUSTOM` .
*/
@JvmName("yuepdjbusuiuxuwm")
public suspend fun aggregation(`value`: Output) {
this.aggregation = value
}
/**
* @param value The additional parameters for an aggregation function.
*/
@JvmName("yyljbhcyrxytsqir")
public suspend fun aggregationFunctionParameters(`value`: Output>) {
this.aggregationFunctionParameters = value
}
/**
* @param value The aggregation of a named entity. Valid values for this structure are `SUM` , `MIN` , `MAX` , `COUNT` , `AVERAGE` , `DISTINCT_COUNT` , `STDEV` , `STDEVP` , `VAR` , `VARP` , `PERCENTILE` , `MEDIAN` , and `CUSTOM` .
*/
@JvmName("oxosusqtcvyjiiai")
public suspend fun aggregation(`value`: TopicNamedEntityAggType?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.aggregation = mapped
}
/**
* @param value The additional parameters for an aggregation function.
*/
@JvmName("vhaeeendvocjknsn")
public suspend fun aggregationFunctionParameters(`value`: Map?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.aggregationFunctionParameters = mapped
}
/**
* @param values The additional parameters for an aggregation function.
*/
@JvmName("ghcldnxbktnvivdp")
public fun aggregationFunctionParameters(vararg values: Pair) {
val toBeMapped = values.toMap()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.aggregationFunctionParameters = mapped
}
internal fun build(): TopicNamedEntityDefinitionMetricArgs = TopicNamedEntityDefinitionMetricArgs(
aggregation = aggregation,
aggregationFunctionParameters = aggregationFunctionParameters,
)
}