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

com.pulumi.aws.quicksight.kotlin.inputs.DashboardParametersArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.aws.quicksight.kotlin.inputs

import com.pulumi.aws.quicksight.inputs.DashboardParametersArgs.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.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property dateTimeParameters A list of parameters that have a data type of date-time. See [AWS API Documentation for complete description](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_DateTimeParameter.html).
 * @property decimalParameters A list of parameters that have a data type of decimal. See [AWS API Documentation for complete description](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_DecimalParameter.html).
 * @property integerParameters A list of parameters that have a data type of integer. See [AWS API Documentation for complete description](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_IntegerParameter.html).
 * @property stringParameters A list of parameters that have a data type of string. See [AWS API Documentation for complete description](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_StringParameter.html).
 */
public data class DashboardParametersArgs(
    public val dateTimeParameters: Output>? = null,
    public val decimalParameters: Output>? = null,
    public val integerParameters: Output>? = null,
    public val stringParameters: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.quicksight.inputs.DashboardParametersArgs =
        com.pulumi.aws.quicksight.inputs.DashboardParametersArgs.builder()
            .dateTimeParameters(
                dateTimeParameters?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            )
            .decimalParameters(
                decimalParameters?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .integerParameters(
                integerParameters?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .stringParameters(
                stringParameters?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            ).build()
}

/**
 * Builder for [DashboardParametersArgs].
 */
@PulumiTagMarker
public class DashboardParametersArgsBuilder internal constructor() {
    private var dateTimeParameters: Output>? = null

    private var decimalParameters: Output>? = null

    private var integerParameters: Output>? = null

    private var stringParameters: Output>? = null

    /**
     * @param value A list of parameters that have a data type of date-time. See [AWS API Documentation for complete description](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_DateTimeParameter.html).
     */
    @JvmName("qvrxmyfhbrjgmiko")
    public suspend fun dateTimeParameters(`value`: Output>) {
        this.dateTimeParameters = value
    }

    @JvmName("dejpajualanrlmbk")
    public suspend fun dateTimeParameters(vararg values: Output) {
        this.dateTimeParameters = Output.all(values.asList())
    }

    /**
     * @param values A list of parameters that have a data type of date-time. See [AWS API Documentation for complete description](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_DateTimeParameter.html).
     */
    @JvmName("qohwutyvwbncowsm")
    public suspend fun dateTimeParameters(values: List>) {
        this.dateTimeParameters = Output.all(values)
    }

    /**
     * @param value A list of parameters that have a data type of decimal. See [AWS API Documentation for complete description](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_DecimalParameter.html).
     */
    @JvmName("vjnvdhocurmqmxlj")
    public suspend fun decimalParameters(`value`: Output>) {
        this.decimalParameters = value
    }

    @JvmName("xyercmhwphirrkor")
    public suspend fun decimalParameters(vararg values: Output) {
        this.decimalParameters = Output.all(values.asList())
    }

    /**
     * @param values A list of parameters that have a data type of decimal. See [AWS API Documentation for complete description](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_DecimalParameter.html).
     */
    @JvmName("oxuajlhkxmpikmvd")
    public suspend fun decimalParameters(values: List>) {
        this.decimalParameters = Output.all(values)
    }

    /**
     * @param value A list of parameters that have a data type of integer. See [AWS API Documentation for complete description](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_IntegerParameter.html).
     */
    @JvmName("ijiqtcxkkjftkhpo")
    public suspend fun integerParameters(`value`: Output>) {
        this.integerParameters = value
    }

    @JvmName("wjihfpnwtxbafrnj")
    public suspend fun integerParameters(vararg values: Output) {
        this.integerParameters = Output.all(values.asList())
    }

    /**
     * @param values A list of parameters that have a data type of integer. See [AWS API Documentation for complete description](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_IntegerParameter.html).
     */
    @JvmName("xruyivhsulfprbhp")
    public suspend fun integerParameters(values: List>) {
        this.integerParameters = Output.all(values)
    }

    /**
     * @param value A list of parameters that have a data type of string. See [AWS API Documentation for complete description](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_StringParameter.html).
     */
    @JvmName("hegyvpfthqhsiaia")
    public suspend fun stringParameters(`value`: Output>) {
        this.stringParameters = value
    }

    @JvmName("yyswcmaeicriowhe")
    public suspend fun stringParameters(vararg values: Output) {
        this.stringParameters = Output.all(values.asList())
    }

    /**
     * @param values A list of parameters that have a data type of string. See [AWS API Documentation for complete description](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_StringParameter.html).
     */
    @JvmName("gujadwvvnshhsiwm")
    public suspend fun stringParameters(values: List>) {
        this.stringParameters = Output.all(values)
    }

    /**
     * @param value A list of parameters that have a data type of date-time. See [AWS API Documentation for complete description](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_DateTimeParameter.html).
     */
    @JvmName("nvdaagpohgnqfmed")
    public suspend fun dateTimeParameters(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dateTimeParameters = mapped
    }

    /**
     * @param argument A list of parameters that have a data type of date-time. See [AWS API Documentation for complete description](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_DateTimeParameter.html).
     */
    @JvmName("setwufkjagsylgvs")
    public suspend fun dateTimeParameters(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            DashboardParametersDateTimeParameterArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.dateTimeParameters = mapped
    }

    /**
     * @param argument A list of parameters that have a data type of date-time. See [AWS API Documentation for complete description](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_DateTimeParameter.html).
     */
    @JvmName("hulbudpxbftgencf")
    public suspend fun dateTimeParameters(vararg argument: suspend DashboardParametersDateTimeParameterArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            DashboardParametersDateTimeParameterArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.dateTimeParameters = mapped
    }

    /**
     * @param argument A list of parameters that have a data type of date-time. See [AWS API Documentation for complete description](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_DateTimeParameter.html).
     */
    @JvmName("toldglpjoprpummy")
    public suspend fun dateTimeParameters(argument: suspend DashboardParametersDateTimeParameterArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            DashboardParametersDateTimeParameterArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.dateTimeParameters = mapped
    }

    /**
     * @param values A list of parameters that have a data type of date-time. See [AWS API Documentation for complete description](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_DateTimeParameter.html).
     */
    @JvmName("jlxyhldfpbujuwst")
    public suspend fun dateTimeParameters(vararg values: DashboardParametersDateTimeParameterArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.dateTimeParameters = mapped
    }

    /**
     * @param value A list of parameters that have a data type of decimal. See [AWS API Documentation for complete description](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_DecimalParameter.html).
     */
    @JvmName("hrfmslmqsiwbowpv")
    public suspend fun decimalParameters(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.decimalParameters = mapped
    }

    /**
     * @param argument A list of parameters that have a data type of decimal. See [AWS API Documentation for complete description](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_DecimalParameter.html).
     */
    @JvmName("hnlbbtijmkidyjpi")
    public suspend fun decimalParameters(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            DashboardParametersDecimalParameterArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.decimalParameters = mapped
    }

    /**
     * @param argument A list of parameters that have a data type of decimal. See [AWS API Documentation for complete description](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_DecimalParameter.html).
     */
    @JvmName("elijvvokontlmtcn")
    public suspend fun decimalParameters(vararg argument: suspend DashboardParametersDecimalParameterArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            DashboardParametersDecimalParameterArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.decimalParameters = mapped
    }

    /**
     * @param argument A list of parameters that have a data type of decimal. See [AWS API Documentation for complete description](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_DecimalParameter.html).
     */
    @JvmName("rnpmhkwulpaqlodl")
    public suspend fun decimalParameters(argument: suspend DashboardParametersDecimalParameterArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            DashboardParametersDecimalParameterArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.decimalParameters = mapped
    }

    /**
     * @param values A list of parameters that have a data type of decimal. See [AWS API Documentation for complete description](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_DecimalParameter.html).
     */
    @JvmName("ivnrpapbknwpuqqn")
    public suspend fun decimalParameters(vararg values: DashboardParametersDecimalParameterArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.decimalParameters = mapped
    }

    /**
     * @param value A list of parameters that have a data type of integer. See [AWS API Documentation for complete description](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_IntegerParameter.html).
     */
    @JvmName("uauerggdqhktsqlg")
    public suspend fun integerParameters(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.integerParameters = mapped
    }

    /**
     * @param argument A list of parameters that have a data type of integer. See [AWS API Documentation for complete description](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_IntegerParameter.html).
     */
    @JvmName("vmevnyudrihkorwn")
    public suspend fun integerParameters(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            DashboardParametersIntegerParameterArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.integerParameters = mapped
    }

    /**
     * @param argument A list of parameters that have a data type of integer. See [AWS API Documentation for complete description](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_IntegerParameter.html).
     */
    @JvmName("ecyqnocbornvavfu")
    public suspend fun integerParameters(vararg argument: suspend DashboardParametersIntegerParameterArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            DashboardParametersIntegerParameterArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.integerParameters = mapped
    }

    /**
     * @param argument A list of parameters that have a data type of integer. See [AWS API Documentation for complete description](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_IntegerParameter.html).
     */
    @JvmName("capptsplxkqytcqy")
    public suspend fun integerParameters(argument: suspend DashboardParametersIntegerParameterArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            DashboardParametersIntegerParameterArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.integerParameters = mapped
    }

    /**
     * @param values A list of parameters that have a data type of integer. See [AWS API Documentation for complete description](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_IntegerParameter.html).
     */
    @JvmName("uvhxqtxmubmllgme")
    public suspend fun integerParameters(vararg values: DashboardParametersIntegerParameterArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.integerParameters = mapped
    }

    /**
     * @param value A list of parameters that have a data type of string. See [AWS API Documentation for complete description](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_StringParameter.html).
     */
    @JvmName("vabstcjwoioaeiwq")
    public suspend fun stringParameters(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.stringParameters = mapped
    }

    /**
     * @param argument A list of parameters that have a data type of string. See [AWS API Documentation for complete description](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_StringParameter.html).
     */
    @JvmName("gijytiytmtnhtjuc")
    public suspend fun stringParameters(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            DashboardParametersStringParameterArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.stringParameters = mapped
    }

    /**
     * @param argument A list of parameters that have a data type of string. See [AWS API Documentation for complete description](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_StringParameter.html).
     */
    @JvmName("trgukcvfwvtsbrga")
    public suspend fun stringParameters(vararg argument: suspend DashboardParametersStringParameterArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            DashboardParametersStringParameterArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.stringParameters = mapped
    }

    /**
     * @param argument A list of parameters that have a data type of string. See [AWS API Documentation for complete description](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_StringParameter.html).
     */
    @JvmName("dbiwtavlqyseepby")
    public suspend fun stringParameters(argument: suspend DashboardParametersStringParameterArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            DashboardParametersStringParameterArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.stringParameters = mapped
    }

    /**
     * @param values A list of parameters that have a data type of string. See [AWS API Documentation for complete description](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_StringParameter.html).
     */
    @JvmName("xxuafmkxeokopelt")
    public suspend fun stringParameters(vararg values: DashboardParametersStringParameterArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.stringParameters = mapped
    }

    internal fun build(): DashboardParametersArgs = DashboardParametersArgs(
        dateTimeParameters = dateTimeParameters,
        decimalParameters = decimalParameters,
        integerParameters = integerParameters,
        stringParameters = stringParameters,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy