
com.pulumi.awsnative.cleanrooms.kotlin.outputs.AnalysisTemplateAnalysisParameter.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.cleanrooms.kotlin.outputs
import com.pulumi.awsnative.cleanrooms.kotlin.enums.AnalysisTemplateAnalysisParameterType
import kotlin.String
import kotlin.Suppress
/**
*
* @property defaultValue Optional. The default value that is applied in the analysis template. The member who can query can override this value in the query editor.
* @property name The name of the parameter. The name must use only alphanumeric, underscore (_), or hyphen (-) characters but cannot start or end with a hyphen.
* @property type The type of parameter.
*/
public data class AnalysisTemplateAnalysisParameter(
public val defaultValue: String? = null,
public val name: String,
public val type: AnalysisTemplateAnalysisParameterType,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.cleanrooms.outputs.AnalysisTemplateAnalysisParameter): AnalysisTemplateAnalysisParameter = AnalysisTemplateAnalysisParameter(
defaultValue = javaType.defaultValue().map({ args0 -> args0 }).orElse(null),
name = javaType.name(),
type = javaType.type().let({ args0 ->
com.pulumi.awsnative.cleanrooms.kotlin.enums.AnalysisTemplateAnalysisParameterType.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy