
com.pulumi.awsnative.quicksight.kotlin.inputs.ThemeConfigurationArgs.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.ThemeConfigurationArgs.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
/**
* The theme configuration. This configuration contains all of the display properties for
* a theme.
* @property dataColorPalette Color properties that apply to chart data colors.
* @property sheet Display options related to sheets.
* @property typography
* @property uiColorPalette Color properties that apply to the UI and to charts, excluding the colors that apply to data.
*/
public data class ThemeConfigurationArgs(
public val dataColorPalette: Output? = null,
public val sheet: Output? = null,
public val typography: Output? = null,
public val uiColorPalette: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.ThemeConfigurationArgs =
com.pulumi.awsnative.quicksight.inputs.ThemeConfigurationArgs.builder()
.dataColorPalette(dataColorPalette?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.sheet(sheet?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.typography(typography?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.uiColorPalette(
uiColorPalette?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [ThemeConfigurationArgs].
*/
@PulumiTagMarker
public class ThemeConfigurationArgsBuilder internal constructor() {
private var dataColorPalette: Output? = null
private var sheet: Output? = null
private var typography: Output? = null
private var uiColorPalette: Output? = null
/**
* @param value Color properties that apply to chart data colors.
*/
@JvmName("yhjreoxckukelbjn")
public suspend fun dataColorPalette(`value`: Output) {
this.dataColorPalette = value
}
/**
* @param value Display options related to sheets.
*/
@JvmName("rclfhmrkgesklodt")
public suspend fun sheet(`value`: Output) {
this.sheet = value
}
/**
* @param value
*/
@JvmName("xgsgaveggskrocyy")
public suspend fun typography(`value`: Output) {
this.typography = value
}
/**
* @param value Color properties that apply to the UI and to charts, excluding the colors that apply to data.
*/
@JvmName("hssbsnxfmqgpcavc")
public suspend fun uiColorPalette(`value`: Output) {
this.uiColorPalette = value
}
/**
* @param value Color properties that apply to chart data colors.
*/
@JvmName("yiqcceguwctlcqye")
public suspend fun dataColorPalette(`value`: ThemeDataColorPaletteArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.dataColorPalette = mapped
}
/**
* @param argument Color properties that apply to chart data colors.
*/
@JvmName("hjsuvvmawgfjgdkj")
public suspend fun dataColorPalette(argument: suspend ThemeDataColorPaletteArgsBuilder.() -> Unit) {
val toBeMapped = ThemeDataColorPaletteArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.dataColorPalette = mapped
}
/**
* @param value Display options related to sheets.
*/
@JvmName("mtktspikavkicbpl")
public suspend fun sheet(`value`: ThemeSheetStyleArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sheet = mapped
}
/**
* @param argument Display options related to sheets.
*/
@JvmName("bbywjlypyouwroxd")
public suspend fun sheet(argument: suspend ThemeSheetStyleArgsBuilder.() -> Unit) {
val toBeMapped = ThemeSheetStyleArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.sheet = mapped
}
/**
* @param value
*/
@JvmName("mlcvijcqxhuyceqg")
public suspend fun typography(`value`: ThemeTypographyArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.typography = mapped
}
/**
* @param argument
*/
@JvmName("tuqakmcohrjcaaqt")
public suspend fun typography(argument: suspend ThemeTypographyArgsBuilder.() -> Unit) {
val toBeMapped = ThemeTypographyArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.typography = mapped
}
/**
* @param value Color properties that apply to the UI and to charts, excluding the colors that apply to data.
*/
@JvmName("kofcdoqeofmdftfm")
public suspend fun uiColorPalette(`value`: ThemeUiColorPaletteArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.uiColorPalette = mapped
}
/**
* @param argument Color properties that apply to the UI and to charts, excluding the colors that apply to data.
*/
@JvmName("apfffgicyeqsbeyf")
public suspend fun uiColorPalette(argument: suspend ThemeUiColorPaletteArgsBuilder.() -> Unit) {
val toBeMapped = ThemeUiColorPaletteArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.uiColorPalette = mapped
}
internal fun build(): ThemeConfigurationArgs = ThemeConfigurationArgs(
dataColorPalette = dataColorPalette,
sheet = sheet,
typography = typography,
uiColorPalette = uiColorPalette,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy