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

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

package com.pulumi.awsnative.quicksight.kotlin.outputs

import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateSheetControlListType
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property cascadingControlConfiguration The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls.
 * @property displayOptions The display options of a control.
 * @property parameterControlId The ID of the `ParameterDropDownControl` .
 * @property selectableValues A list of selectable values that are used in a control.
 * @property sourceParameterName The source parameter name of the `ParameterDropDownControl` .
 * @property title The title of the `ParameterDropDownControl` .
 * @property type The type parameter name of the `ParameterDropDownControl` .
 */
public data class TemplateParameterDropDownControl(
    public val cascadingControlConfiguration: TemplateCascadingControlConfiguration? = null,
    public val displayOptions: TemplateDropDownControlDisplayOptions? = null,
    public val parameterControlId: String,
    public val selectableValues: TemplateParameterSelectableValues? = null,
    public val sourceParameterName: String,
    public val title: String,
    public val type: TemplateSheetControlListType? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.TemplateParameterDropDownControl): TemplateParameterDropDownControl = TemplateParameterDropDownControl(
            cascadingControlConfiguration = javaType.cascadingControlConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateCascadingControlConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            displayOptions = javaType.displayOptions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateDropDownControlDisplayOptions.Companion.toKotlin(args0)
                })
            }).orElse(null),
            parameterControlId = javaType.parameterControlId(),
            selectableValues = javaType.selectableValues().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateParameterSelectableValues.Companion.toKotlin(args0)
                })
            }).orElse(null),
            sourceParameterName = javaType.sourceParameterName(),
            title = javaType.title(),
            type = javaType.type().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.TemplateSheetControlListType.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy