com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisVisualTitleLabelOptionsArgs.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.AnalysisVisualTitleLabelOptionsArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisVisibility
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.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property formatText The short text format of the title label, such as plain text or rich text.
* @property visibility The visibility of the title label.
*/
public data class AnalysisVisualTitleLabelOptionsArgs(
public val formatText: Output? = null,
public val visibility: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisVisualTitleLabelOptionsArgs = com.pulumi.awsnative.quicksight.inputs.AnalysisVisualTitleLabelOptionsArgs.builder()
.formatText(formatText?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.visibility(visibility?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [AnalysisVisualTitleLabelOptionsArgs].
*/
@PulumiTagMarker
public class AnalysisVisualTitleLabelOptionsArgsBuilder internal constructor() {
private var formatText: Output? = null
private var visibility: Output? = null
/**
* @param value The short text format of the title label, such as plain text or rich text.
*/
@JvmName("inoifxpadrxefdlu")
public suspend fun formatText(`value`: Output) {
this.formatText = value
}
/**
* @param value The visibility of the title label.
*/
@JvmName("irdwpfeqheunixjs")
public suspend fun visibility(`value`: Output) {
this.visibility = value
}
/**
* @param value The short text format of the title label, such as plain text or rich text.
*/
@JvmName("txnrhghgcdxatmbn")
public suspend fun formatText(`value`: AnalysisShortFormatTextArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.formatText = mapped
}
/**
* @param argument The short text format of the title label, such as plain text or rich text.
*/
@JvmName("hukqrukkjbqpqkug")
public suspend fun formatText(argument: suspend AnalysisShortFormatTextArgsBuilder.() -> Unit) {
val toBeMapped = AnalysisShortFormatTextArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.formatText = mapped
}
/**
* @param value The visibility of the title label.
*/
@JvmName("hcbjgagukmvrvlvk")
public suspend fun visibility(`value`: AnalysisVisibility?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.visibility = mapped
}
internal fun build(): AnalysisVisualTitleLabelOptionsArgs = AnalysisVisualTitleLabelOptionsArgs(
formatText = formatText,
visibility = visibility,
)
}