com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisStringParameterDeclaration.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.AnalysisParameterValueType
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property defaultValues The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default value can be provided.
* @property mappedDataSetParameters
* @property name The name of the parameter that is being declared.
* @property parameterValueType The value type determines whether the parameter is a single-value or multi-value parameter.
* @property valueWhenUnset The configuration that defines the default value of a `String` parameter when a value has not been set.
*/
public data class AnalysisStringParameterDeclaration(
public val defaultValues: AnalysisStringDefaultValues? = null,
public val mappedDataSetParameters: List? = null,
public val name: String,
public val parameterValueType: AnalysisParameterValueType,
public val valueWhenUnset: AnalysisStringValueWhenUnsetConfiguration? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.AnalysisStringParameterDeclaration): AnalysisStringParameterDeclaration = AnalysisStringParameterDeclaration(
defaultValues = javaType.defaultValues().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisStringDefaultValues.Companion.toKotlin(args0)
})
}).orElse(null),
mappedDataSetParameters = javaType.mappedDataSetParameters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisMappedDataSetParameter.Companion.toKotlin(args0)
})
}),
name = javaType.name(),
parameterValueType = javaType.parameterValueType().let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisParameterValueType.Companion.toKotlin(args0)
}),
valueWhenUnset = javaType.valueWhenUnset().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisStringValueWhenUnsetConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}