
com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardLabelOptionsArgs.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.DashboardLabelOptionsArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardVisibility
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 DashboardLabelOptionsArgs(
public val customLabel: Output? = null,
public val fontConfiguration: Output? = null,
public val visibility: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardLabelOptionsArgs =
com.pulumi.awsnative.quicksight.inputs.DashboardLabelOptionsArgs.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 [DashboardLabelOptionsArgs].
*/
@PulumiTagMarker
public class DashboardLabelOptionsArgsBuilder 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("fdhgkpmmbmdsmrsc")
public suspend fun customLabel(`value`: Output) {
this.customLabel = value
}
/**
* @param value The font configuration of the label.
*/
@JvmName("otxtmlnibenolcpi")
public suspend fun fontConfiguration(`value`: Output) {
this.fontConfiguration = value
}
/**
* @param value Determines whether or not the label is visible.
*/
@JvmName("tthocobcknjhmypc")
public suspend fun visibility(`value`: Output) {
this.visibility = value
}
/**
* @param value The text for the label.
*/
@JvmName("tqannmawukwtvgkr")
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("ukcgscayqcqlwmwk")
public suspend fun fontConfiguration(`value`: DashboardFontConfigurationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.fontConfiguration = mapped
}
/**
* @param argument The font configuration of the label.
*/
@JvmName("irltyihyjklqejmh")
public suspend fun fontConfiguration(argument: suspend DashboardFontConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = DashboardFontConfigurationArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.fontConfiguration = mapped
}
/**
* @param value Determines whether or not the label is visible.
*/
@JvmName("xyjggifqjbwfcmdg")
public suspend fun visibility(`value`: DashboardVisibility?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.visibility = mapped
}
internal fun build(): DashboardLabelOptionsArgs = DashboardLabelOptionsArgs(
customLabel = customLabel,
fontConfiguration = fontConfiguration,
visibility = visibility,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy