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

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

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

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

import com.pulumi.awsnative.quicksight.inputs.AnalysisParameterTextAreaControlArgs.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 delimiter The delimiter that is used to separate the lines in text.
 * @property displayOptions The display options of a control.
 * @property parameterControlId The ID of the `ParameterTextAreaControl` .
 * @property sourceParameterName The source parameter name of the `ParameterTextAreaControl` .
 * @property title The title of the `ParameterTextAreaControl` .
 */
public data class AnalysisParameterTextAreaControlArgs(
    public val delimiter: Output? = null,
    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.AnalysisParameterTextAreaControlArgs = com.pulumi.awsnative.quicksight.inputs.AnalysisParameterTextAreaControlArgs.builder()
        .delimiter(delimiter?.applyValue({ args0 -> args0 }))
        .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 [AnalysisParameterTextAreaControlArgs].
 */
@PulumiTagMarker
public class AnalysisParameterTextAreaControlArgsBuilder internal constructor() {
    private var delimiter: Output? = null

    private var displayOptions: Output? = null

    private var parameterControlId: Output? = null

    private var sourceParameterName: Output? = null

    private var title: Output? = null

    /**
     * @param value The delimiter that is used to separate the lines in text.
     */
    @JvmName("lxpotmlsjgwnjmsi")
    public suspend fun delimiter(`value`: Output) {
        this.delimiter = value
    }

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

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

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

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

    /**
     * @param value The delimiter that is used to separate the lines in text.
     */
    @JvmName("crbjmcmardpifdap")
    public suspend fun delimiter(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.delimiter = mapped
    }

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

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

    /**
     * @param value The ID of the `ParameterTextAreaControl` .
     */
    @JvmName("enwlrkhhsrikodva")
    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 `ParameterTextAreaControl` .
     */
    @JvmName("cypcehpvbsswofms")
    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 `ParameterTextAreaControl` .
     */
    @JvmName("pdvsegqvwsxkauiu")
    public suspend fun title(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.title = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy