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

com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateTextFieldControlDisplayOptionsArgs.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: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.awsnative.quicksight.inputs.TemplateTextFieldControlDisplayOptionsArgs.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 TemplateTextFieldControlDisplayOptionsArgs(
    public val infoIconLabelOptions: Output? = null,
    public val placeholderOptions: Output? = null,
    public val titleOptions: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateTextFieldControlDisplayOptionsArgs =
        com.pulumi.awsnative.quicksight.inputs.TemplateTextFieldControlDisplayOptionsArgs.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 [TemplateTextFieldControlDisplayOptionsArgs].
 */
@PulumiTagMarker
public class TemplateTextFieldControlDisplayOptionsArgsBuilder 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("gqsoynhwmwybgsoh")
    public suspend fun infoIconLabelOptions(`value`: Output) {
        this.infoIconLabelOptions = value
    }

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

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

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

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

    /**
     * @param value The configuration of the placeholder options in a text field control.
     */
    @JvmName("jllxifkqmiqochwk")
    public suspend fun placeholderOptions(`value`: TemplateTextControlPlaceholderOptionsArgs?) {
        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("edwwxxlbaygyidmu")
    public suspend fun placeholderOptions(argument: suspend TemplateTextControlPlaceholderOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateTextControlPlaceholderOptionsArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.placeholderOptions = mapped
    }

    /**
     * @param value The options to configure the title visibility, name, and font size.
     */
    @JvmName("iyvhnlodcdsxjvfl")
    public suspend fun titleOptions(`value`: TemplateLabelOptionsArgs?) {
        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("hfwrnggxiadmbwux")
    public suspend fun titleOptions(argument: suspend TemplateLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.titleOptions = mapped
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy