com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardFunnelChartConfigurationArgs.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.DashboardFunnelChartConfigurationArgs.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 categoryLabelOptions The label options of the categories that are displayed in a `FunnelChartVisual` .
* @property dataLabelOptions The options that determine the presentation of the data labels.
* @property fieldWells The field well configuration of a `FunnelChartVisual` .
* @property sortConfiguration The sort configuration of a `FunnelChartVisual` .
* @property tooltip The tooltip configuration of a `FunnelChartVisual` .
* @property valueLabelOptions The label options for the values that are displayed in a `FunnelChartVisual` .
* @property visualPalette The visual palette configuration of a `FunnelChartVisual` .
*/
public data class DashboardFunnelChartConfigurationArgs(
public val categoryLabelOptions: Output? = null,
public val dataLabelOptions: Output? = null,
public val fieldWells: Output? = null,
public val sortConfiguration: Output? = null,
public val tooltip: Output? = null,
public val valueLabelOptions: Output? = null,
public val visualPalette: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardFunnelChartConfigurationArgs =
com.pulumi.awsnative.quicksight.inputs.DashboardFunnelChartConfigurationArgs.builder()
.categoryLabelOptions(
categoryLabelOptions?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.dataLabelOptions(dataLabelOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.fieldWells(fieldWells?.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() }) }))
.valueLabelOptions(valueLabelOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.visualPalette(visualPalette?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [DashboardFunnelChartConfigurationArgs].
*/
@PulumiTagMarker
public class DashboardFunnelChartConfigurationArgsBuilder internal constructor() {
private var categoryLabelOptions: Output? = null
private var dataLabelOptions: Output? = null
private var fieldWells: Output? = null
private var sortConfiguration: Output? = null
private var tooltip: Output? = null
private var valueLabelOptions: Output? = null
private var visualPalette: Output? = null
/**
* @param value The label options of the categories that are displayed in a `FunnelChartVisual` .
*/
@JvmName("rmibfseqdjkxabjj")
public suspend fun categoryLabelOptions(`value`: Output) {
this.categoryLabelOptions = value
}
/**
* @param value The options that determine the presentation of the data labels.
*/
@JvmName("vleyearwfsjguygt")
public suspend fun dataLabelOptions(`value`: Output) {
this.dataLabelOptions = value
}
/**
* @param value The field well configuration of a `FunnelChartVisual` .
*/
@JvmName("ipjnynbjnbitknft")
public suspend fun fieldWells(`value`: Output) {
this.fieldWells = value
}
/**
* @param value The sort configuration of a `FunnelChartVisual` .
*/
@JvmName("bjdgxikahlmfxcaf")
public suspend fun sortConfiguration(`value`: Output) {
this.sortConfiguration = value
}
/**
* @param value The tooltip configuration of a `FunnelChartVisual` .
*/
@JvmName("hfmadkbagyweikda")
public suspend fun tooltip(`value`: Output) {
this.tooltip = value
}
/**
* @param value The label options for the values that are displayed in a `FunnelChartVisual` .
*/
@JvmName("nepufhhxkhslypif")
public suspend fun valueLabelOptions(`value`: Output) {
this.valueLabelOptions = value
}
/**
* @param value The visual palette configuration of a `FunnelChartVisual` .
*/
@JvmName("irwuwsayaboynoln")
public suspend fun visualPalette(`value`: Output) {
this.visualPalette = value
}
/**
* @param value The label options of the categories that are displayed in a `FunnelChartVisual` .
*/
@JvmName("mijaycmyboshdied")
public suspend fun categoryLabelOptions(`value`: DashboardChartAxisLabelOptionsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.categoryLabelOptions = mapped
}
/**
* @param argument The label options of the categories that are displayed in a `FunnelChartVisual` .
*/
@JvmName("upfujfvmboibtaxm")
public suspend fun categoryLabelOptions(argument: suspend DashboardChartAxisLabelOptionsArgsBuilder.() -> Unit) {
val toBeMapped = DashboardChartAxisLabelOptionsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.categoryLabelOptions = mapped
}
/**
* @param value The options that determine the presentation of the data labels.
*/
@JvmName("xcntqjedgooxedau")
public suspend fun dataLabelOptions(`value`: DashboardFunnelChartDataLabelOptionsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.dataLabelOptions = mapped
}
/**
* @param argument The options that determine the presentation of the data labels.
*/
@JvmName("reblvgdyibjbsvfg")
public suspend fun dataLabelOptions(argument: suspend DashboardFunnelChartDataLabelOptionsArgsBuilder.() -> Unit) {
val toBeMapped = DashboardFunnelChartDataLabelOptionsArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.dataLabelOptions = mapped
}
/**
* @param value The field well configuration of a `FunnelChartVisual` .
*/
@JvmName("bwrhhcvccqkvudqf")
public suspend fun fieldWells(`value`: DashboardFunnelChartFieldWellsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.fieldWells = mapped
}
/**
* @param argument The field well configuration of a `FunnelChartVisual` .
*/
@JvmName("fnvnmtwbgwgwvfhf")
public suspend fun fieldWells(argument: suspend DashboardFunnelChartFieldWellsArgsBuilder.() -> Unit) {
val toBeMapped = DashboardFunnelChartFieldWellsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.fieldWells = mapped
}
/**
* @param value The sort configuration of a `FunnelChartVisual` .
*/
@JvmName("jsvhfdlegolhqlfa")
public suspend fun sortConfiguration(`value`: DashboardFunnelChartSortConfigurationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sortConfiguration = mapped
}
/**
* @param argument The sort configuration of a `FunnelChartVisual` .
*/
@JvmName("cjmempehcguilyya")
public suspend fun sortConfiguration(argument: suspend DashboardFunnelChartSortConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = DashboardFunnelChartSortConfigurationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.sortConfiguration = mapped
}
/**
* @param value The tooltip configuration of a `FunnelChartVisual` .
*/
@JvmName("mphflqmhuagkngai")
public suspend fun tooltip(`value`: DashboardTooltipOptionsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.tooltip = mapped
}
/**
* @param argument The tooltip configuration of a `FunnelChartVisual` .
*/
@JvmName("imijkmsitlrluhrg")
public suspend fun tooltip(argument: suspend DashboardTooltipOptionsArgsBuilder.() -> Unit) {
val toBeMapped = DashboardTooltipOptionsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.tooltip = mapped
}
/**
* @param value The label options for the values that are displayed in a `FunnelChartVisual` .
*/
@JvmName("bbwcoxuoeyckauth")
public suspend fun valueLabelOptions(`value`: DashboardChartAxisLabelOptionsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.valueLabelOptions = mapped
}
/**
* @param argument The label options for the values that are displayed in a `FunnelChartVisual` .
*/
@JvmName("aqptihjcdywldnul")
public suspend fun valueLabelOptions(argument: suspend DashboardChartAxisLabelOptionsArgsBuilder.() -> Unit) {
val toBeMapped = DashboardChartAxisLabelOptionsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.valueLabelOptions = mapped
}
/**
* @param value The visual palette configuration of a `FunnelChartVisual` .
*/
@JvmName("lnxevkkiegrqrkoj")
public suspend fun visualPalette(`value`: DashboardVisualPaletteArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.visualPalette = mapped
}
/**
* @param argument The visual palette configuration of a `FunnelChartVisual` .
*/
@JvmName("wjbtqytuxxnwevvv")
public suspend fun visualPalette(argument: suspend DashboardVisualPaletteArgsBuilder.() -> Unit) {
val toBeMapped = DashboardVisualPaletteArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.visualPalette = mapped
}
internal fun build(): DashboardFunnelChartConfigurationArgs =
DashboardFunnelChartConfigurationArgs(
categoryLabelOptions = categoryLabelOptions,
dataLabelOptions = dataLabelOptions,
fieldWells = fieldWells,
sortConfiguration = sortConfiguration,
tooltip = tooltip,
valueLabelOptions = valueLabelOptions,
visualPalette = visualPalette,
)
}