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

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

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

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

import com.pulumi.awsnative.quicksight.inputs.TemplateDestinationParameterValueConfigurationArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateSelectAllValueOptions
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property customValuesConfiguration The configuration of custom values for destination parameter in `DestinationParameterValueConfiguration` .
 * @property selectAllValueOptions The configuration that selects all options.
 * @property sourceColumn
 * @property sourceField The source field ID of the destination parameter.
 * @property sourceParameterName The source parameter name of the destination parameter.
 */
public data class TemplateDestinationParameterValueConfigurationArgs(
    public val customValuesConfiguration: Output? = null,
    public val selectAllValueOptions: Output? = null,
    public val sourceColumn: Output? = null,
    public val sourceField: Output? = null,
    public val sourceParameterName: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateDestinationParameterValueConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.TemplateDestinationParameterValueConfigurationArgs.builder()
            .customValuesConfiguration(
                customValuesConfiguration?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .selectAllValueOptions(
                selectAllValueOptions?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .sourceColumn(sourceColumn?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .sourceField(sourceField?.applyValue({ args0 -> args0 }))
            .sourceParameterName(sourceParameterName?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [TemplateDestinationParameterValueConfigurationArgs].
 */
@PulumiTagMarker
public class TemplateDestinationParameterValueConfigurationArgsBuilder internal constructor() {
    private var customValuesConfiguration: Output? = null

    private var selectAllValueOptions: Output? = null

    private var sourceColumn: Output? = null

    private var sourceField: Output? = null

    private var sourceParameterName: Output? = null

    /**
     * @param value The configuration of custom values for destination parameter in `DestinationParameterValueConfiguration` .
     */
    @JvmName("rirwmxuukbkoqmmw")
    public suspend fun customValuesConfiguration(`value`: Output) {
        this.customValuesConfiguration = value
    }

    /**
     * @param value The configuration that selects all options.
     */
    @JvmName("yksqhxtupqfyrrgo")
    public suspend fun selectAllValueOptions(`value`: Output) {
        this.selectAllValueOptions = value
    }

    /**
     * @param value
     */
    @JvmName("akflnhlddebjqadh")
    public suspend fun sourceColumn(`value`: Output) {
        this.sourceColumn = value
    }

    /**
     * @param value The source field ID of the destination parameter.
     */
    @JvmName("twnviusmndlvtijl")
    public suspend fun sourceField(`value`: Output) {
        this.sourceField = value
    }

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

    /**
     * @param value The configuration of custom values for destination parameter in `DestinationParameterValueConfiguration` .
     */
    @JvmName("mdjgfxqrivuxdbjd")
    public suspend fun customValuesConfiguration(`value`: TemplateCustomValuesConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.customValuesConfiguration = mapped
    }

    /**
     * @param argument The configuration of custom values for destination parameter in `DestinationParameterValueConfiguration` .
     */
    @JvmName("oswjienoyltjhtok")
    public suspend fun customValuesConfiguration(argument: suspend TemplateCustomValuesConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateCustomValuesConfigurationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.customValuesConfiguration = mapped
    }

    /**
     * @param value The configuration that selects all options.
     */
    @JvmName("oycckxslbagnkpwj")
    public suspend fun selectAllValueOptions(`value`: TemplateSelectAllValueOptions?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.selectAllValueOptions = mapped
    }

    /**
     * @param value
     */
    @JvmName("qgompmtmngysaxad")
    public suspend fun sourceColumn(`value`: TemplateColumnIdentifierArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sourceColumn = mapped
    }

    /**
     * @param argument
     */
    @JvmName("lrltuorsvvqtebmt")
    public suspend fun sourceColumn(argument: suspend TemplateColumnIdentifierArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateColumnIdentifierArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.sourceColumn = mapped
    }

    /**
     * @param value The source field ID of the destination parameter.
     */
    @JvmName("jstuarknvlbvcecx")
    public suspend fun sourceField(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sourceField = mapped
    }

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

    internal fun build(): TemplateDestinationParameterValueConfigurationArgs =
        TemplateDestinationParameterValueConfigurationArgs(
            customValuesConfiguration = customValuesConfiguration,
            selectAllValueOptions = selectAllValueOptions,
            sourceColumn = sourceColumn,
            sourceField = sourceField,
            sourceParameterName = sourceParameterName,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy