com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateSheetTextBoxArgs.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.TemplateSheetTextBoxArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property content The content that is displayed in the text box.
* @property sheetTextBoxId The unique identifier for a text box. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have text boxes that share identifiers.
*/
public data class TemplateSheetTextBoxArgs(
public val content: Output? = null,
public val sheetTextBoxId: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateSheetTextBoxArgs =
com.pulumi.awsnative.quicksight.inputs.TemplateSheetTextBoxArgs.builder()
.content(content?.applyValue({ args0 -> args0 }))
.sheetTextBoxId(sheetTextBoxId.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TemplateSheetTextBoxArgs].
*/
@PulumiTagMarker
public class TemplateSheetTextBoxArgsBuilder internal constructor() {
private var content: Output? = null
private var sheetTextBoxId: Output? = null
/**
* @param value The content that is displayed in the text box.
*/
@JvmName("pgdpdreofxiaggol")
public suspend fun content(`value`: Output) {
this.content = value
}
/**
* @param value The unique identifier for a text box. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have text boxes that share identifiers.
*/
@JvmName("yhlueqhuiwndqyej")
public suspend fun sheetTextBoxId(`value`: Output) {
this.sheetTextBoxId = value
}
/**
* @param value The content that is displayed in the text box.
*/
@JvmName("ysbwpmqscwkvowev")
public suspend fun content(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.content = mapped
}
/**
* @param value The unique identifier for a text box. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have text boxes that share identifiers.
*/
@JvmName("vnymhnhwuegunpht")
public suspend fun sheetTextBoxId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.sheetTextBoxId = mapped
}
internal fun build(): TemplateSheetTextBoxArgs = TemplateSheetTextBoxArgs(
content = content,
sheetTextBoxId = sheetTextBoxId ?: throw PulumiNullFieldException("sheetTextBoxId"),
)
}