
com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisFontConfiguration.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.outputs
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisFontDecoration
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisFontStyle
import kotlin.String
import kotlin.Suppress
/**
*
* @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 AnalysisFontConfiguration(
public val fontColor: String? = null,
public val fontDecoration: AnalysisFontDecoration? = null,
public val fontSize: AnalysisFontSize? = null,
public val fontStyle: AnalysisFontStyle? = null,
public val fontWeight: AnalysisFontWeight? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.AnalysisFontConfiguration): AnalysisFontConfiguration = AnalysisFontConfiguration(
fontColor = javaType.fontColor().map({ args0 -> args0 }).orElse(null),
fontDecoration = javaType.fontDecoration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisFontDecoration.Companion.toKotlin(args0)
})
}).orElse(null),
fontSize = javaType.fontSize().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisFontSize.Companion.toKotlin(args0)
})
}).orElse(null),
fontStyle = javaType.fontStyle().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisFontStyle.Companion.toKotlin(args0)
})
}).orElse(null),
fontWeight = javaType.fontWeight().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisFontWeight.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy