
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateStringParameterDeclaration.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.outputs
import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateParameterValueType
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 TemplateStringParameterDeclaration(
public val defaultValues: TemplateStringDefaultValues? = null,
public val mappedDataSetParameters: List? = null,
public val name: String,
public val parameterValueType: TemplateParameterValueType,
public val valueWhenUnset: TemplateStringValueWhenUnsetConfiguration? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.TemplateStringParameterDeclaration): TemplateStringParameterDeclaration = TemplateStringParameterDeclaration(
defaultValues = javaType.defaultValues().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateStringDefaultValues.Companion.toKotlin(args0)
})
}).orElse(null),
mappedDataSetParameters = javaType.mappedDataSetParameters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateMappedDataSetParameter.Companion.toKotlin(args0)
})
}),
name = javaType.name(),
parameterValueType = javaType.parameterValueType().let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.TemplateParameterValueType.Companion.toKotlin(args0)
}),
valueWhenUnset = javaType.valueWhenUnset().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateStringValueWhenUnsetConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy