com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisParameterDropDownControl.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.outputs
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisSheetControlListType
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 AnalysisParameterDropDownControl(
public val cascadingControlConfiguration: AnalysisCascadingControlConfiguration? = null,
public val displayOptions: AnalysisDropDownControlDisplayOptions? = null,
public val parameterControlId: String,
public val selectableValues: AnalysisParameterSelectableValues? = null,
public val sourceParameterName: String,
public val title: String,
public val type: AnalysisSheetControlListType? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.AnalysisParameterDropDownControl): AnalysisParameterDropDownControl = AnalysisParameterDropDownControl(
cascadingControlConfiguration = javaType.cascadingControlConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisCascadingControlConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
displayOptions = javaType.displayOptions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisDropDownControlDisplayOptions.Companion.toKotlin(args0)
})
}).orElse(null),
parameterControlId = javaType.parameterControlId(),
selectableValues = javaType.selectableValues().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisParameterSelectableValues.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.AnalysisSheetControlListType.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}