
com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateTreeMapConfigurationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.TemplateTreeMapConfigurationArgs.builder
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.jvm.JvmName
/**
*
* @property colorLabelOptions The label options (label text, label visibility) for the colors displayed in a tree map.
* @property colorScale The color options (gradient color, point of divergence) of a tree map.
* @property dataLabels The options that determine if visual data labels are displayed.
* @property fieldWells The field wells of the visual.
* @property groupLabelOptions The label options (label text, label visibility) of the groups that are displayed in a tree map.
* @property legend The legend display setup of the visual.
* @property sizeLabelOptions The label options (label text, label visibility) of the sizes that are displayed in a tree map.
* @property sortConfiguration The sort configuration of a tree map.
* @property tooltip The tooltip display setup of the visual.
*/
public data class TemplateTreeMapConfigurationArgs(
public val colorLabelOptions: Output? = null,
public val colorScale: Output? = null,
public val dataLabels: Output? = null,
public val fieldWells: Output? = null,
public val groupLabelOptions: Output? = null,
public val legend: Output? = null,
public val sizeLabelOptions: Output? = null,
public val sortConfiguration: Output? = null,
public val tooltip: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateTreeMapConfigurationArgs =
com.pulumi.awsnative.quicksight.inputs.TemplateTreeMapConfigurationArgs.builder()
.colorLabelOptions(colorLabelOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.colorScale(colorScale?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.dataLabels(dataLabels?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.fieldWells(fieldWells?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.groupLabelOptions(groupLabelOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.legend(legend?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.sizeLabelOptions(sizeLabelOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.sortConfiguration(sortConfiguration?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.tooltip(tooltip?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [TemplateTreeMapConfigurationArgs].
*/
@PulumiTagMarker
public class TemplateTreeMapConfigurationArgsBuilder internal constructor() {
private var colorLabelOptions: Output? = null
private var colorScale: Output? = null
private var dataLabels: Output? = null
private var fieldWells: Output? = null
private var groupLabelOptions: Output? = null
private var legend: Output? = null
private var sizeLabelOptions: Output? = null
private var sortConfiguration: Output? = null
private var tooltip: Output? = null
/**
* @param value The label options (label text, label visibility) for the colors displayed in a tree map.
*/
@JvmName("gksvctrfmtjgoxdo")
public suspend fun colorLabelOptions(`value`: Output) {
this.colorLabelOptions = value
}
/**
* @param value The color options (gradient color, point of divergence) of a tree map.
*/
@JvmName("pxryxgswvhfjbrgc")
public suspend fun colorScale(`value`: Output) {
this.colorScale = value
}
/**
* @param value The options that determine if visual data labels are displayed.
*/
@JvmName("rcjbscqrrejonags")
public suspend fun dataLabels(`value`: Output) {
this.dataLabels = value
}
/**
* @param value The field wells of the visual.
*/
@JvmName("uvseupvbmpysncjh")
public suspend fun fieldWells(`value`: Output) {
this.fieldWells = value
}
/**
* @param value The label options (label text, label visibility) of the groups that are displayed in a tree map.
*/
@JvmName("cyveqxgtbewofvso")
public suspend fun groupLabelOptions(`value`: Output) {
this.groupLabelOptions = value
}
/**
* @param value The legend display setup of the visual.
*/
@JvmName("kabhlgafangeilgi")
public suspend fun legend(`value`: Output) {
this.legend = value
}
/**
* @param value The label options (label text, label visibility) of the sizes that are displayed in a tree map.
*/
@JvmName("ysqgslkseqwvqsma")
public suspend fun sizeLabelOptions(`value`: Output) {
this.sizeLabelOptions = value
}
/**
* @param value The sort configuration of a tree map.
*/
@JvmName("oydhftfrnpmellui")
public suspend fun sortConfiguration(`value`: Output) {
this.sortConfiguration = value
}
/**
* @param value The tooltip display setup of the visual.
*/
@JvmName("fgnlrkltbcgwqhlt")
public suspend fun tooltip(`value`: Output) {
this.tooltip = value
}
/**
* @param value The label options (label text, label visibility) for the colors displayed in a tree map.
*/
@JvmName("veksttmmwxjascic")
public suspend fun colorLabelOptions(`value`: TemplateChartAxisLabelOptionsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.colorLabelOptions = mapped
}
/**
* @param argument The label options (label text, label visibility) for the colors displayed in a tree map.
*/
@JvmName("xyfvxauowkkwphmq")
public suspend fun colorLabelOptions(argument: suspend TemplateChartAxisLabelOptionsArgsBuilder.() -> Unit) {
val toBeMapped = TemplateChartAxisLabelOptionsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.colorLabelOptions = mapped
}
/**
* @param value The color options (gradient color, point of divergence) of a tree map.
*/
@JvmName("pjpqodwnqxbbamtd")
public suspend fun colorScale(`value`: TemplateColorScaleArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.colorScale = mapped
}
/**
* @param argument The color options (gradient color, point of divergence) of a tree map.
*/
@JvmName("xxovqyhcxpmlggxt")
public suspend fun colorScale(argument: suspend TemplateColorScaleArgsBuilder.() -> Unit) {
val toBeMapped = TemplateColorScaleArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.colorScale = mapped
}
/**
* @param value The options that determine if visual data labels are displayed.
*/
@JvmName("aagrxsacfljrbagv")
public suspend fun dataLabels(`value`: TemplateDataLabelOptionsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.dataLabels = mapped
}
/**
* @param argument The options that determine if visual data labels are displayed.
*/
@JvmName("mclcooryirvvsfir")
public suspend fun dataLabels(argument: suspend TemplateDataLabelOptionsArgsBuilder.() -> Unit) {
val toBeMapped = TemplateDataLabelOptionsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.dataLabels = mapped
}
/**
* @param value The field wells of the visual.
*/
@JvmName("ekllamrrmuypoblf")
public suspend fun fieldWells(`value`: TemplateTreeMapFieldWellsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.fieldWells = mapped
}
/**
* @param argument The field wells of the visual.
*/
@JvmName("ddmlgsuwfecsdrud")
public suspend fun fieldWells(argument: suspend TemplateTreeMapFieldWellsArgsBuilder.() -> Unit) {
val toBeMapped = TemplateTreeMapFieldWellsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.fieldWells = mapped
}
/**
* @param value The label options (label text, label visibility) of the groups that are displayed in a tree map.
*/
@JvmName("kmxabhnvmykfrsdj")
public suspend fun groupLabelOptions(`value`: TemplateChartAxisLabelOptionsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.groupLabelOptions = mapped
}
/**
* @param argument The label options (label text, label visibility) of the groups that are displayed in a tree map.
*/
@JvmName("pbsdldhlpjxmtdls")
public suspend fun groupLabelOptions(argument: suspend TemplateChartAxisLabelOptionsArgsBuilder.() -> Unit) {
val toBeMapped = TemplateChartAxisLabelOptionsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.groupLabelOptions = mapped
}
/**
* @param value The legend display setup of the visual.
*/
@JvmName("jsybjnrjfjikvgbr")
public suspend fun legend(`value`: TemplateLegendOptionsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.legend = mapped
}
/**
* @param argument The legend display setup of the visual.
*/
@JvmName("cqubeuwurcsftajw")
public suspend fun legend(argument: suspend TemplateLegendOptionsArgsBuilder.() -> Unit) {
val toBeMapped = TemplateLegendOptionsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.legend = mapped
}
/**
* @param value The label options (label text, label visibility) of the sizes that are displayed in a tree map.
*/
@JvmName("cyoafwcdqyejtcph")
public suspend fun sizeLabelOptions(`value`: TemplateChartAxisLabelOptionsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sizeLabelOptions = mapped
}
/**
* @param argument The label options (label text, label visibility) of the sizes that are displayed in a tree map.
*/
@JvmName("hbpkevbraepljxtj")
public suspend fun sizeLabelOptions(argument: suspend TemplateChartAxisLabelOptionsArgsBuilder.() -> Unit) {
val toBeMapped = TemplateChartAxisLabelOptionsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.sizeLabelOptions = mapped
}
/**
* @param value The sort configuration of a tree map.
*/
@JvmName("nwgvqpkhqpfjsnbo")
public suspend fun sortConfiguration(`value`: TemplateTreeMapSortConfigurationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sortConfiguration = mapped
}
/**
* @param argument The sort configuration of a tree map.
*/
@JvmName("eupoerffjqdxkkqg")
public suspend fun sortConfiguration(argument: suspend TemplateTreeMapSortConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = TemplateTreeMapSortConfigurationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.sortConfiguration = mapped
}
/**
* @param value The tooltip display setup of the visual.
*/
@JvmName("udwyovsxxjhrkelq")
public suspend fun tooltip(`value`: TemplateTooltipOptionsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.tooltip = mapped
}
/**
* @param argument The tooltip display setup of the visual.
*/
@JvmName("pyhudbdikufyrnly")
public suspend fun tooltip(argument: suspend TemplateTooltipOptionsArgsBuilder.() -> Unit) {
val toBeMapped = TemplateTooltipOptionsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.tooltip = mapped
}
internal fun build(): TemplateTreeMapConfigurationArgs = TemplateTreeMapConfigurationArgs(
colorLabelOptions = colorLabelOptions,
colorScale = colorScale,
dataLabels = dataLabels,
fieldWells = fieldWells,
groupLabelOptions = groupLabelOptions,
legend = legend,
sizeLabelOptions = sizeLabelOptions,
sortConfiguration = sortConfiguration,
tooltip = tooltip,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy