com.pulumi.awsnative.quicksight.kotlin.inputs.TemplatePercentileAggregationArgs.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.inputs
import com.pulumi.awsnative.quicksight.inputs.TemplatePercentileAggregationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Double
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property percentileValue The percentile value. This value can be any numeric constant 0–100. A percentile value of 50 computes the median value of the measure.
*/
public data class TemplatePercentileAggregationArgs(
public val percentileValue: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplatePercentileAggregationArgs =
com.pulumi.awsnative.quicksight.inputs.TemplatePercentileAggregationArgs.builder()
.percentileValue(percentileValue?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TemplatePercentileAggregationArgs].
*/
@PulumiTagMarker
public class TemplatePercentileAggregationArgsBuilder internal constructor() {
private var percentileValue: Output? = null
/**
* @param value The percentile value. This value can be any numeric constant 0–100. A percentile value of 50 computes the median value of the measure.
*/
@JvmName("wooilrrjvxoayane")
public suspend fun percentileValue(`value`: Output) {
this.percentileValue = value
}
/**
* @param value The percentile value. This value can be any numeric constant 0–100. A percentile value of 50 computes the median value of the measure.
*/
@JvmName("gsxemyakuevowkkw")
public suspend fun percentileValue(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.percentileValue = mapped
}
internal fun build(): TemplatePercentileAggregationArgs = TemplatePercentileAggregationArgs(
percentileValue = percentileValue,
)
}