All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisFontConfigurationArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.quicksight.kotlin.inputs

import com.pulumi.awsnative.quicksight.inputs.AnalysisFontConfigurationArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisFontDecoration
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisFontStyle
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 AnalysisFontConfigurationArgs(
    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.AnalysisFontConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.AnalysisFontConfigurationArgs.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 [AnalysisFontConfigurationArgs].
 */
@PulumiTagMarker
public class AnalysisFontConfigurationArgsBuilder 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("onjiwjoaykbufsjq")
    public suspend fun fontColor(`value`: Output) {
        this.fontColor = value
    }

    /**
     * @param value Determines the appearance of decorative lines on the text.
     */
    @JvmName("fceydsghwunhkkov")
    public suspend fun fontDecoration(`value`: Output) {
        this.fontDecoration = value
    }

    /**
     * @param value The option that determines the text display size.
     */
    @JvmName("roybivpsuxfakbiq")
    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("fqmsmdvkcohcgkbp")
    public suspend fun fontStyle(`value`: Output) {
        this.fontStyle = value
    }

    /**
     * @param value The option that determines the text display weight, or boldness.
     */
    @JvmName("oknyajcnbkhjdjru")
    public suspend fun fontWeight(`value`: Output) {
        this.fontWeight = value
    }

    /**
     * @param value Determines the color of the text.
     */
    @JvmName("xlnihorywkxqibot")
    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("xqisxpbiupkdxbcd")
    public suspend fun fontDecoration(`value`: AnalysisFontDecoration?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.fontDecoration = mapped
    }

    /**
     * @param value The option that determines the text display size.
     */
    @JvmName("grkyjnbbfsjketfe")
    public suspend fun fontSize(`value`: AnalysisFontSizeArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.fontSize = mapped
    }

    /**
     * @param argument The option that determines the text display size.
     */
    @JvmName("mmnvrkpjcihjbwoa")
    public suspend fun fontSize(argument: suspend AnalysisFontSizeArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisFontSizeArgsBuilder().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("wurpgllxvbrvxewq")
    public suspend fun fontStyle(`value`: AnalysisFontStyle?) {
        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("yncgpxscotfmtwid")
    public suspend fun fontWeight(`value`: AnalysisFontWeightArgs?) {
        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("bqcikrrgpsugerbw")
    public suspend fun fontWeight(argument: suspend AnalysisFontWeightArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisFontWeightArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.fontWeight = mapped
    }

    internal fun build(): AnalysisFontConfigurationArgs = AnalysisFontConfigurationArgs(
        fontColor = fontColor,
        fontDecoration = fontDecoration,
        fontSize = fontSize,
        fontStyle = fontStyle,
        fontWeight = fontWeight,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy