![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardFontConfigurationArgs.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.DashboardFontConfigurationArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardFontDecoration
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardFontStyle
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property fontColor Determines the color of the text.
* @property fontDecoration Determines the appearance of decorative lines on the text.
* @property fontSize The option that determines the text display size.
* @property fontStyle Determines the text display face that is inherited by the given font family.
* @property fontWeight The option that determines the text display weight, or boldness.
*/
public data class DashboardFontConfigurationArgs(
public val fontColor: Output? = null,
public val fontDecoration: Output? = null,
public val fontSize: Output? = null,
public val fontStyle: Output? = null,
public val fontWeight: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardFontConfigurationArgs =
com.pulumi.awsnative.quicksight.inputs.DashboardFontConfigurationArgs.builder()
.fontColor(fontColor?.applyValue({ args0 -> args0 }))
.fontDecoration(fontDecoration?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.fontSize(fontSize?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.fontStyle(fontStyle?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.fontWeight(fontWeight?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [DashboardFontConfigurationArgs].
*/
@PulumiTagMarker
public class DashboardFontConfigurationArgsBuilder internal constructor() {
private var fontColor: Output? = null
private var fontDecoration: Output? = null
private var fontSize: Output? = null
private var fontStyle: Output? = null
private var fontWeight: Output? = null
/**
* @param value Determines the color of the text.
*/
@JvmName("ksusvibitjhqtjcm")
public suspend fun fontColor(`value`: Output) {
this.fontColor = value
}
/**
* @param value Determines the appearance of decorative lines on the text.
*/
@JvmName("ptbvsfvdxaqglfkt")
public suspend fun fontDecoration(`value`: Output) {
this.fontDecoration = value
}
/**
* @param value The option that determines the text display size.
*/
@JvmName("xdpgvpogtqoxdomr")
public suspend fun fontSize(`value`: Output) {
this.fontSize = value
}
/**
* @param value Determines the text display face that is inherited by the given font family.
*/
@JvmName("prswfbosokgxjrwg")
public suspend fun fontStyle(`value`: Output) {
this.fontStyle = value
}
/**
* @param value The option that determines the text display weight, or boldness.
*/
@JvmName("xwpaavlsegwodinj")
public suspend fun fontWeight(`value`: Output) {
this.fontWeight = value
}
/**
* @param value Determines the color of the text.
*/
@JvmName("iajbwumbxbpgnlpm")
public suspend fun fontColor(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.fontColor = mapped
}
/**
* @param value Determines the appearance of decorative lines on the text.
*/
@JvmName("nayyhijkuifqbyek")
public suspend fun fontDecoration(`value`: DashboardFontDecoration?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.fontDecoration = mapped
}
/**
* @param value The option that determines the text display size.
*/
@JvmName("dletgrvfmfalbfuc")
public suspend fun fontSize(`value`: DashboardFontSizeArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.fontSize = mapped
}
/**
* @param argument The option that determines the text display size.
*/
@JvmName("wkgsjfpgbvuvhqhv")
public suspend fun fontSize(argument: suspend DashboardFontSizeArgsBuilder.() -> Unit) {
val toBeMapped = DashboardFontSizeArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.fontSize = mapped
}
/**
* @param value Determines the text display face that is inherited by the given font family.
*/
@JvmName("ippxkywcynusxmpv")
public suspend fun fontStyle(`value`: DashboardFontStyle?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.fontStyle = mapped
}
/**
* @param value The option that determines the text display weight, or boldness.
*/
@JvmName("fuqwqucaxyowugrq")
public suspend fun fontWeight(`value`: DashboardFontWeightArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.fontWeight = mapped
}
/**
* @param argument The option that determines the text display weight, or boldness.
*/
@JvmName("renjkgsbcgtrwtmh")
public suspend fun fontWeight(argument: suspend DashboardFontWeightArgsBuilder.() -> Unit) {
val toBeMapped = DashboardFontWeightArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.fontWeight = mapped
}
internal fun build(): DashboardFontConfigurationArgs = DashboardFontConfigurationArgs(
fontColor = fontColor,
fontDecoration = fontDecoration,
fontSize = fontSize,
fontStyle = fontStyle,
fontWeight = fontWeight,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy