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

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

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.awsnative.quicksight.inputs.DashboardTextFieldControlDisplayOptionsArgs.builder
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 infoIconLabelOptions The configuration of info icon label options.
 * @property placeholderOptions The configuration of the placeholder options in a text field control.
 * @property titleOptions The options to configure the title visibility, name, and font size.
 */
public data class DashboardTextFieldControlDisplayOptionsArgs(
    public val infoIconLabelOptions: Output? = null,
    public val placeholderOptions: Output? = null,
    public val titleOptions: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardTextFieldControlDisplayOptionsArgs =
        com.pulumi.awsnative.quicksight.inputs.DashboardTextFieldControlDisplayOptionsArgs.builder()
            .infoIconLabelOptions(
                infoIconLabelOptions?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .placeholderOptions(
                placeholderOptions?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .titleOptions(titleOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [DashboardTextFieldControlDisplayOptionsArgs].
 */
@PulumiTagMarker
public class DashboardTextFieldControlDisplayOptionsArgsBuilder internal constructor() {
    private var infoIconLabelOptions: Output? = null

    private var placeholderOptions: Output? = null

    private var titleOptions: Output? = null

    /**
     * @param value The configuration of info icon label options.
     */
    @JvmName("mngvalrhgskgoxwa")
    public suspend fun infoIconLabelOptions(`value`: Output) {
        this.infoIconLabelOptions = value
    }

    /**
     * @param value The configuration of the placeholder options in a text field control.
     */
    @JvmName("pcgumsukxelimehm")
    public suspend fun placeholderOptions(`value`: Output) {
        this.placeholderOptions = value
    }

    /**
     * @param value The options to configure the title visibility, name, and font size.
     */
    @JvmName("rojmhistpdveponc")
    public suspend fun titleOptions(`value`: Output) {
        this.titleOptions = value
    }

    /**
     * @param value The configuration of info icon label options.
     */
    @JvmName("rfxeidfrhjlcgleb")
    public suspend fun infoIconLabelOptions(`value`: DashboardSheetControlInfoIconLabelOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.infoIconLabelOptions = mapped
    }

    /**
     * @param argument The configuration of info icon label options.
     */
    @JvmName("edufhhuduosvasgw")
    public suspend fun infoIconLabelOptions(argument: suspend DashboardSheetControlInfoIconLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardSheetControlInfoIconLabelOptionsArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.infoIconLabelOptions = mapped
    }

    /**
     * @param value The configuration of the placeholder options in a text field control.
     */
    @JvmName("bgsrkbhfaofnqjrs")
    public suspend fun placeholderOptions(`value`: DashboardTextControlPlaceholderOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.placeholderOptions = mapped
    }

    /**
     * @param argument The configuration of the placeholder options in a text field control.
     */
    @JvmName("jqmmchpnjxcfgpqb")
    public suspend fun placeholderOptions(argument: suspend DashboardTextControlPlaceholderOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardTextControlPlaceholderOptionsArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.placeholderOptions = mapped
    }

    /**
     * @param value The options to configure the title visibility, name, and font size.
     */
    @JvmName("njvmvcrkxbdneehf")
    public suspend fun titleOptions(`value`: DashboardLabelOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.titleOptions = mapped
    }

    /**
     * @param argument The options to configure the title visibility, name, and font size.
     */
    @JvmName("sudfyigsvylqohbe")
    public suspend fun titleOptions(argument: suspend DashboardLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.titleOptions = mapped
    }

    internal fun build(): DashboardTextFieldControlDisplayOptionsArgs =
        DashboardTextFieldControlDisplayOptionsArgs(
            infoIconLabelOptions = infoIconLabelOptions,
            placeholderOptions = placeholderOptions,
            titleOptions = titleOptions,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy