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

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

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

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

import com.pulumi.awsnative.quicksight.inputs.TemplateParameterTextFieldControlArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property displayOptions The display options of a control.
 * @property parameterControlId The ID of the `ParameterTextFieldControl` .
 * @property sourceParameterName The source parameter name of the `ParameterTextFieldControl` .
 * @property title The title of the `ParameterTextFieldControl` .
 */
public data class TemplateParameterTextFieldControlArgs(
    public val displayOptions: Output? = null,
    public val parameterControlId: Output,
    public val sourceParameterName: Output,
    public val title: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateParameterTextFieldControlArgs =
        com.pulumi.awsnative.quicksight.inputs.TemplateParameterTextFieldControlArgs.builder()
            .displayOptions(displayOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .parameterControlId(parameterControlId.applyValue({ args0 -> args0 }))
            .sourceParameterName(sourceParameterName.applyValue({ args0 -> args0 }))
            .title(title.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [TemplateParameterTextFieldControlArgs].
 */
@PulumiTagMarker
public class TemplateParameterTextFieldControlArgsBuilder internal constructor() {
    private var displayOptions: Output? = null

    private var parameterControlId: Output? = null

    private var sourceParameterName: Output? = null

    private var title: Output? = null

    /**
     * @param value The display options of a control.
     */
    @JvmName("wcvuwutislaswoxw")
    public suspend fun displayOptions(`value`: Output) {
        this.displayOptions = value
    }

    /**
     * @param value The ID of the `ParameterTextFieldControl` .
     */
    @JvmName("faplvmqjicvehaww")
    public suspend fun parameterControlId(`value`: Output) {
        this.parameterControlId = value
    }

    /**
     * @param value The source parameter name of the `ParameterTextFieldControl` .
     */
    @JvmName("nxlierhvoxcefhhl")
    public suspend fun sourceParameterName(`value`: Output) {
        this.sourceParameterName = value
    }

    /**
     * @param value The title of the `ParameterTextFieldControl` .
     */
    @JvmName("lyvwaxtjhckwwcet")
    public suspend fun title(`value`: Output) {
        this.title = value
    }

    /**
     * @param value The display options of a control.
     */
    @JvmName("fqiowcbvechdjlhr")
    public suspend fun displayOptions(`value`: TemplateTextFieldControlDisplayOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.displayOptions = mapped
    }

    /**
     * @param argument The display options of a control.
     */
    @JvmName("qqarljatbdeqmxyg")
    public suspend fun displayOptions(argument: suspend TemplateTextFieldControlDisplayOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateTextFieldControlDisplayOptionsArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.displayOptions = mapped
    }

    /**
     * @param value The ID of the `ParameterTextFieldControl` .
     */
    @JvmName("fttxymmtrqcvruog")
    public suspend fun parameterControlId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.parameterControlId = mapped
    }

    /**
     * @param value The source parameter name of the `ParameterTextFieldControl` .
     */
    @JvmName("sifqdxloyqnqwcca")
    public suspend fun sourceParameterName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.sourceParameterName = mapped
    }

    /**
     * @param value The title of the `ParameterTextFieldControl` .
     */
    @JvmName("hpobghlswihgtpux")
    public suspend fun title(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.title = mapped
    }

    internal fun build(): TemplateParameterTextFieldControlArgs =
        TemplateParameterTextFieldControlArgs(
            displayOptions = displayOptions,
            parameterControlId = parameterControlId ?: throw PulumiNullFieldException("parameterControlId"),
            sourceParameterName = sourceParameterName ?: throw PulumiNullFieldException("sourceParameterName"),
            title = title ?: throw PulumiNullFieldException("title"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy