![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateParameterDropDownControlArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.TemplateParameterDropDownControlArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateSheetControlListType
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 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 TemplateParameterDropDownControlArgs(
public val cascadingControlConfiguration: Output? =
null,
public val displayOptions: Output? = null,
public val parameterControlId: Output,
public val selectableValues: Output? = null,
public val sourceParameterName: Output,
public val title: Output,
public val type: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateParameterDropDownControlArgs = com.pulumi.awsnative.quicksight.inputs.TemplateParameterDropDownControlArgs.builder()
.cascadingControlConfiguration(
cascadingControlConfiguration?.applyValue({ args0 ->
args0.let({ args0 -> args0.toJava() })
}),
)
.displayOptions(displayOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.parameterControlId(parameterControlId.applyValue({ args0 -> args0 }))
.selectableValues(selectableValues?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.sourceParameterName(sourceParameterName.applyValue({ args0 -> args0 }))
.title(title.applyValue({ args0 -> args0 }))
.type(type?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [TemplateParameterDropDownControlArgs].
*/
@PulumiTagMarker
public class TemplateParameterDropDownControlArgsBuilder internal constructor() {
private var cascadingControlConfiguration: Output? =
null
private var displayOptions: Output? = null
private var parameterControlId: Output? = null
private var selectableValues: Output? = null
private var sourceParameterName: Output? = null
private var title: Output? = null
private var type: Output? = null
/**
* @param value 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.
*/
@JvmName("ghqopjdnxktehgwp")
public suspend fun cascadingControlConfiguration(`value`: Output) {
this.cascadingControlConfiguration = value
}
/**
* @param value The display options of a control.
*/
@JvmName("elogikdkiksteigr")
public suspend fun displayOptions(`value`: Output) {
this.displayOptions = value
}
/**
* @param value The ID of the `ParameterDropDownControl` .
*/
@JvmName("xaljcswvppxctwwo")
public suspend fun parameterControlId(`value`: Output) {
this.parameterControlId = value
}
/**
* @param value A list of selectable values that are used in a control.
*/
@JvmName("avkodykswunebphj")
public suspend fun selectableValues(`value`: Output) {
this.selectableValues = value
}
/**
* @param value The source parameter name of the `ParameterDropDownControl` .
*/
@JvmName("lbkgkrmyjvscofrf")
public suspend fun sourceParameterName(`value`: Output) {
this.sourceParameterName = value
}
/**
* @param value The title of the `ParameterDropDownControl` .
*/
@JvmName("cuyeeombgusijqmm")
public suspend fun title(`value`: Output) {
this.title = value
}
/**
* @param value The type parameter name of the `ParameterDropDownControl` .
*/
@JvmName("sopwdrugrawmgaqr")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value 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.
*/
@JvmName("vebngjishyorqdvc")
public suspend fun cascadingControlConfiguration(`value`: TemplateCascadingControlConfigurationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.cascadingControlConfiguration = mapped
}
/**
* @param argument 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.
*/
@JvmName("kckncryvrgntmweg")
public suspend fun cascadingControlConfiguration(argument: suspend TemplateCascadingControlConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = TemplateCascadingControlConfigurationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.cascadingControlConfiguration = mapped
}
/**
* @param value The display options of a control.
*/
@JvmName("ojljayrxvdwmqcth")
public suspend fun displayOptions(`value`: TemplateDropDownControlDisplayOptionsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.displayOptions = mapped
}
/**
* @param argument The display options of a control.
*/
@JvmName("gspyxmdywaeywlqf")
public suspend fun displayOptions(argument: suspend TemplateDropDownControlDisplayOptionsArgsBuilder.() -> Unit) {
val toBeMapped = TemplateDropDownControlDisplayOptionsArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.displayOptions = mapped
}
/**
* @param value The ID of the `ParameterDropDownControl` .
*/
@JvmName("ctqyxqwultbspmnb")
public suspend fun parameterControlId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.parameterControlId = mapped
}
/**
* @param value A list of selectable values that are used in a control.
*/
@JvmName("piryhspkdogmjmma")
public suspend fun selectableValues(`value`: TemplateParameterSelectableValuesArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.selectableValues = mapped
}
/**
* @param argument A list of selectable values that are used in a control.
*/
@JvmName("xkgyumvnvhcrompa")
public suspend fun selectableValues(argument: suspend TemplateParameterSelectableValuesArgsBuilder.() -> Unit) {
val toBeMapped = TemplateParameterSelectableValuesArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.selectableValues = mapped
}
/**
* @param value The source parameter name of the `ParameterDropDownControl` .
*/
@JvmName("umjdgesvamnoguag")
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 `ParameterDropDownControl` .
*/
@JvmName("pbfxmktkaebhvxaq")
public suspend fun title(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.title = mapped
}
/**
* @param value The type parameter name of the `ParameterDropDownControl` .
*/
@JvmName("aivunchpfxoxnwme")
public suspend fun type(`value`: TemplateSheetControlListType?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.type = mapped
}
internal fun build(): TemplateParameterDropDownControlArgs = TemplateParameterDropDownControlArgs(
cascadingControlConfiguration = cascadingControlConfiguration,
displayOptions = displayOptions,
parameterControlId = parameterControlId ?: throw PulumiNullFieldException("parameterControlId"),
selectableValues = selectableValues,
sourceParameterName = sourceParameterName ?: throw PulumiNullFieldException("sourceParameterName"),
title = title ?: throw PulumiNullFieldException("title"),
type = type,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy