All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardSheetTextBoxArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.quicksight.kotlin.inputs

import com.pulumi.awsnative.quicksight.inputs.DashboardSheetTextBoxArgs.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 DashboardSheetTextBoxArgs(
    public val content: Output? = null,
    public val sheetTextBoxId: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardSheetTextBoxArgs =
        com.pulumi.awsnative.quicksight.inputs.DashboardSheetTextBoxArgs.builder()
            .content(content?.applyValue({ args0 -> args0 }))
            .sheetTextBoxId(sheetTextBoxId.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DashboardSheetTextBoxArgs].
 */
@PulumiTagMarker
public class DashboardSheetTextBoxArgsBuilder internal constructor() {
    private var content: Output? = null

    private var sheetTextBoxId: Output? = null

    /**
     * @param value The content that is displayed in the text box.
     */
    @JvmName("vbhdnyopyptwwgsf")
    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("jyukwvfgrvkevwoj")
    public suspend fun sheetTextBoxId(`value`: Output) {
        this.sheetTextBoxId = value
    }

    /**
     * @param value The content that is displayed in the text box.
     */
    @JvmName("tqeanghpdgbawydr")
    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("nvvmkguypdpkgijr")
    public suspend fun sheetTextBoxId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.sheetTextBoxId = mapped
    }

    internal fun build(): DashboardSheetTextBoxArgs = DashboardSheetTextBoxArgs(
        content = content,
        sheetTextBoxId = sheetTextBoxId ?: throw PulumiNullFieldException("sheetTextBoxId"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy