com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardFieldBasedTooltipArgs.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.DashboardFieldBasedTooltipArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardTooltipTitleType
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardVisibility
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property aggregationVisibility The visibility of `Show aggregations` .
* @property tooltipFields The fields configuration in the tooltip.
* @property tooltipTitleType The type for the >tooltip title. Choose one of the following options:
* - `NONE` : Doesn't use the primary value as the title.
* - `PRIMARY_VALUE` : Uses primary value as the title.
*/
public data class DashboardFieldBasedTooltipArgs(
public val aggregationVisibility: Output? = null,
public val tooltipFields: Output>? = null,
public val tooltipTitleType: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardFieldBasedTooltipArgs =
com.pulumi.awsnative.quicksight.inputs.DashboardFieldBasedTooltipArgs.builder()
.aggregationVisibility(
aggregationVisibility?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.tooltipFields(
tooltipFields?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.tooltipTitleType(
tooltipTitleType?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [DashboardFieldBasedTooltipArgs].
*/
@PulumiTagMarker
public class DashboardFieldBasedTooltipArgsBuilder internal constructor() {
private var aggregationVisibility: Output? = null
private var tooltipFields: Output>? = null
private var tooltipTitleType: Output? = null
/**
* @param value The visibility of `Show aggregations` .
*/
@JvmName("bycxnlhchcesovfp")
public suspend fun aggregationVisibility(`value`: Output) {
this.aggregationVisibility = value
}
/**
* @param value The fields configuration in the tooltip.
*/
@JvmName("aaskfptuewyqkgrx")
public suspend fun tooltipFields(`value`: Output>) {
this.tooltipFields = value
}
@JvmName("nbkqtlwuombjeueb")
public suspend fun tooltipFields(vararg values: Output) {
this.tooltipFields = Output.all(values.asList())
}
/**
* @param values The fields configuration in the tooltip.
*/
@JvmName("pmludegokeiunvar")
public suspend fun tooltipFields(values: List