
com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateLabelOptionsArgs.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.TemplateLabelOptionsArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateVisibility
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 customLabel The text for the label.
* @property fontConfiguration The font configuration of the label.
* @property visibility Determines whether or not the label is visible.
*/
public data class TemplateLabelOptionsArgs(
public val customLabel: Output? = null,
public val fontConfiguration: Output? = null,
public val visibility: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateLabelOptionsArgs =
com.pulumi.awsnative.quicksight.inputs.TemplateLabelOptionsArgs.builder()
.customLabel(customLabel?.applyValue({ args0 -> args0 }))
.fontConfiguration(fontConfiguration?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.visibility(visibility?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [TemplateLabelOptionsArgs].
*/
@PulumiTagMarker
public class TemplateLabelOptionsArgsBuilder internal constructor() {
private var customLabel: Output? = null
private var fontConfiguration: Output? = null
private var visibility: Output? = null
/**
* @param value The text for the label.
*/
@JvmName("yxujpxjqscfftfvd")
public suspend fun customLabel(`value`: Output) {
this.customLabel = value
}
/**
* @param value The font configuration of the label.
*/
@JvmName("lpoaectascgfooff")
public suspend fun fontConfiguration(`value`: Output) {
this.fontConfiguration = value
}
/**
* @param value Determines whether or not the label is visible.
*/
@JvmName("qevelgcnqcfbjvlc")
public suspend fun visibility(`value`: Output) {
this.visibility = value
}
/**
* @param value The text for the label.
*/
@JvmName("wlevpsljlcyivyeh")
public suspend fun customLabel(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.customLabel = mapped
}
/**
* @param value The font configuration of the label.
*/
@JvmName("lgyanbtjwhelmuef")
public suspend fun fontConfiguration(`value`: TemplateFontConfigurationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.fontConfiguration = mapped
}
/**
* @param argument The font configuration of the label.
*/
@JvmName("lmmwhwhtftgadogx")
public suspend fun fontConfiguration(argument: suspend TemplateFontConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = TemplateFontConfigurationArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.fontConfiguration = mapped
}
/**
* @param value Determines whether or not the label is visible.
*/
@JvmName("nlqvwqxsdmlfhxha")
public suspend fun visibility(`value`: TemplateVisibility?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.visibility = mapped
}
internal fun build(): TemplateLabelOptionsArgs = TemplateLabelOptionsArgs(
customLabel = customLabel,
fontConfiguration = fontConfiguration,
visibility = visibility,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy