![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.quicksight.kotlin.inputs.TemplatePieChartConfigurationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.TemplatePieChartConfigurationArgs.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.collections.List
import kotlin.jvm.JvmName
/**
*
* @property categoryLabelOptions The label options of the group/color that is displayed in a pie chart.
* @property contributionAnalysisDefaults The contribution analysis (anomaly configuration) setup of the visual.
* @property dataLabels The options that determine if visual data labels are displayed.
* @property donutOptions The options that determine the shape of the chart. This option determines whether the chart is a pie chart or a donut chart.
* @property fieldWells The field wells of the visual.
* @property legend The legend display setup of the visual.
* @property smallMultiplesOptions The small multiples setup for the visual.
* @property sortConfiguration The sort configuration of a pie chart.
* @property tooltip The tooltip display setup of the visual.
* @property valueLabelOptions The label options for the value that is displayed in a pie chart.
* @property visualPalette The palette (chart color) display setup of the visual.
*/
public data class TemplatePieChartConfigurationArgs(
public val categoryLabelOptions: Output? = null,
public val contributionAnalysisDefaults: Output>? =
null,
public val dataLabels: Output? = null,
public val donutOptions: Output? = null,
public val fieldWells: Output? = null,
public val legend: Output? = null,
public val smallMultiplesOptions: 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.TemplatePieChartConfigurationArgs =
com.pulumi.awsnative.quicksight.inputs.TemplatePieChartConfigurationArgs.builder()
.categoryLabelOptions(
categoryLabelOptions?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.contributionAnalysisDefaults(
contributionAnalysisDefaults?.applyValue({ args0 ->
args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) })
}),
)
.dataLabels(dataLabels?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.donutOptions(donutOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.fieldWells(fieldWells?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.legend(legend?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.smallMultiplesOptions(
smallMultiplesOptions?.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 [TemplatePieChartConfigurationArgs].
*/
@PulumiTagMarker
public class TemplatePieChartConfigurationArgsBuilder internal constructor() {
private var categoryLabelOptions: Output? = null
private var contributionAnalysisDefaults: Output>? =
null
private var dataLabels: Output? = null
private var donutOptions: Output? = null
private var fieldWells: Output? = null
private var legend: Output? = null
private var smallMultiplesOptions: 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 group/color that is displayed in a pie chart.
*/
@JvmName("loqodmtobmpuutfh")
public suspend fun categoryLabelOptions(`value`: Output) {
this.categoryLabelOptions = value
}
/**
* @param value The contribution analysis (anomaly configuration) setup of the visual.
*/
@JvmName("vvhgrnoscyydwevg")
public suspend fun contributionAnalysisDefaults(`value`: Output>) {
this.contributionAnalysisDefaults = value
}
@JvmName("kdjjenebfjmmongb")
public suspend fun contributionAnalysisDefaults(vararg values: Output) {
this.contributionAnalysisDefaults = Output.all(values.asList())
}
/**
* @param values The contribution analysis (anomaly configuration) setup of the visual.
*/
@JvmName("eaeatdytikawjhql")
public suspend fun contributionAnalysisDefaults(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy