
com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateColumnTooltipItemArgs.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.TemplateColumnTooltipItemArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateVisibility
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property aggregation The aggregation function of the column tooltip item.
* @property column The target column of the tooltip item.
* @property label The label of the tooltip item.
* @property visibility The visibility of the tooltip item.
*/
public data class TemplateColumnTooltipItemArgs(
public val aggregation: Output? = null,
public val column: Output,
public val label: Output? = null,
public val visibility: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateColumnTooltipItemArgs =
com.pulumi.awsnative.quicksight.inputs.TemplateColumnTooltipItemArgs.builder()
.aggregation(aggregation?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.column(column.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.label(label?.applyValue({ args0 -> args0 }))
.visibility(visibility?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [TemplateColumnTooltipItemArgs].
*/
@PulumiTagMarker
public class TemplateColumnTooltipItemArgsBuilder internal constructor() {
private var aggregation: Output? = null
private var column: Output? = null
private var label: Output? = null
private var visibility: Output? = null
/**
* @param value The aggregation function of the column tooltip item.
*/
@JvmName("fptrnwjaukejjxtq")
public suspend fun aggregation(`value`: Output) {
this.aggregation = value
}
/**
* @param value The target column of the tooltip item.
*/
@JvmName("owsyalxnoyikuaks")
public suspend fun column(`value`: Output) {
this.column = value
}
/**
* @param value The label of the tooltip item.
*/
@JvmName("bjvvtulpxpknrdlq")
public suspend fun label(`value`: Output) {
this.label = value
}
/**
* @param value The visibility of the tooltip item.
*/
@JvmName("rcvohplguymrcmjv")
public suspend fun visibility(`value`: Output) {
this.visibility = value
}
/**
* @param value The aggregation function of the column tooltip item.
*/
@JvmName("eosrtkkhygkqoxja")
public suspend fun aggregation(`value`: TemplateAggregationFunctionArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.aggregation = mapped
}
/**
* @param argument The aggregation function of the column tooltip item.
*/
@JvmName("liqwhgmyoewdluul")
public suspend fun aggregation(argument: suspend TemplateAggregationFunctionArgsBuilder.() -> Unit) {
val toBeMapped = TemplateAggregationFunctionArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.aggregation = mapped
}
/**
* @param value The target column of the tooltip item.
*/
@JvmName("xwdxllidwhoonapt")
public suspend fun column(`value`: TemplateColumnIdentifierArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.column = mapped
}
/**
* @param argument The target column of the tooltip item.
*/
@JvmName("cnuavnylwtgdpygl")
public suspend fun column(argument: suspend TemplateColumnIdentifierArgsBuilder.() -> Unit) {
val toBeMapped = TemplateColumnIdentifierArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.column = mapped
}
/**
* @param value The label of the tooltip item.
*/
@JvmName("twljthjvjoudltqx")
public suspend fun label(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.label = mapped
}
/**
* @param value The visibility of the tooltip item.
*/
@JvmName("uqrmgpuwmxotvopw")
public suspend fun visibility(`value`: TemplateVisibility?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.visibility = mapped
}
internal fun build(): TemplateColumnTooltipItemArgs = TemplateColumnTooltipItemArgs(
aggregation = aggregation,
column = column ?: throw PulumiNullFieldException("column"),
label = label,
visibility = visibility,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy