com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisDonutOptionsArgs.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.AnalysisDonutOptionsArgs.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 arcOptions The option for define the arc of the chart shape. Valid values are as follows:
* - `WHOLE` - A pie chart
* - `SMALL` - A small-sized donut chart
* - `MEDIUM` - A medium-sized donut chart
* - `LARGE` - A large-sized donut chart
* @property donutCenterOptions The label options of the label that is displayed in the center of a donut chart. This option isn't available for pie charts.
*/
public data class AnalysisDonutOptionsArgs(
public val arcOptions: Output? = null,
public val donutCenterOptions: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisDonutOptionsArgs =
com.pulumi.awsnative.quicksight.inputs.AnalysisDonutOptionsArgs.builder()
.arcOptions(arcOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.donutCenterOptions(
donutCenterOptions?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [AnalysisDonutOptionsArgs].
*/
@PulumiTagMarker
public class AnalysisDonutOptionsArgsBuilder internal constructor() {
private var arcOptions: Output? = null
private var donutCenterOptions: Output? = null
/**
* @param value The option for define the arc of the chart shape. Valid values are as follows:
* - `WHOLE` - A pie chart
* - `SMALL` - A small-sized donut chart
* - `MEDIUM` - A medium-sized donut chart
* - `LARGE` - A large-sized donut chart
*/
@JvmName("bksfnpyublngpyiq")
public suspend fun arcOptions(`value`: Output) {
this.arcOptions = value
}
/**
* @param value The label options of the label that is displayed in the center of a donut chart. This option isn't available for pie charts.
*/
@JvmName("jwskwdunmflayqas")
public suspend fun donutCenterOptions(`value`: Output) {
this.donutCenterOptions = value
}
/**
* @param value The option for define the arc of the chart shape. Valid values are as follows:
* - `WHOLE` - A pie chart
* - `SMALL` - A small-sized donut chart
* - `MEDIUM` - A medium-sized donut chart
* - `LARGE` - A large-sized donut chart
*/
@JvmName("vssjplgvainwmudk")
public suspend fun arcOptions(`value`: AnalysisArcOptionsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.arcOptions = mapped
}
/**
* @param argument The option for define the arc of the chart shape. Valid values are as follows:
* - `WHOLE` - A pie chart
* - `SMALL` - A small-sized donut chart
* - `MEDIUM` - A medium-sized donut chart
* - `LARGE` - A large-sized donut chart
*/
@JvmName("wygtdjaunisngewi")
public suspend fun arcOptions(argument: suspend AnalysisArcOptionsArgsBuilder.() -> Unit) {
val toBeMapped = AnalysisArcOptionsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.arcOptions = mapped
}
/**
* @param value The label options of the label that is displayed in the center of a donut chart. This option isn't available for pie charts.
*/
@JvmName("awmxmkofgyxhsfjy")
public suspend fun donutCenterOptions(`value`: AnalysisDonutCenterOptionsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.donutCenterOptions = mapped
}
/**
* @param argument The label options of the label that is displayed in the center of a donut chart. This option isn't available for pie charts.
*/
@JvmName("gujwarjahggpgbvv")
public suspend fun donutCenterOptions(argument: suspend AnalysisDonutCenterOptionsArgsBuilder.() -> Unit) {
val toBeMapped = AnalysisDonutCenterOptionsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.donutCenterOptions = mapped
}
internal fun build(): AnalysisDonutOptionsArgs = AnalysisDonutOptionsArgs(
arcOptions = arcOptions,
donutCenterOptions = donutCenterOptions,
)
}