![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.cleanrooms.kotlin.inputs.AnalysisTemplateAnalysisParameterArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.cleanrooms.kotlin.inputs
import com.pulumi.awsnative.cleanrooms.inputs.AnalysisTemplateAnalysisParameterArgs.builder
import com.pulumi.awsnative.cleanrooms.kotlin.enums.AnalysisTemplateAnalysisParameterType
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 kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @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 AnalysisTemplateAnalysisParameterArgs(
public val defaultValue: Output? = null,
public val name: Output,
public val type: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.cleanrooms.inputs.AnalysisTemplateAnalysisParameterArgs =
com.pulumi.awsnative.cleanrooms.inputs.AnalysisTemplateAnalysisParameterArgs.builder()
.defaultValue(defaultValue?.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 }))
.type(type.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [AnalysisTemplateAnalysisParameterArgs].
*/
@PulumiTagMarker
public class AnalysisTemplateAnalysisParameterArgsBuilder internal constructor() {
private var defaultValue: Output? = null
private var name: Output? = null
private var type: Output? = null
/**
* @param value Optional. The default value that is applied in the analysis template. The member who can query can override this value in the query editor.
*/
@JvmName("ljcdtittcqyrftac")
public suspend fun defaultValue(`value`: Output) {
this.defaultValue = value
}
/**
* @param value The name of the parameter. The name must use only alphanumeric, underscore (_), or hyphen (-) characters but cannot start or end with a hyphen.
*/
@JvmName("yxeqvtpfjjwfdmcr")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The type of parameter.
*/
@JvmName("gkyuqastfgrpuvaw")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value Optional. The default value that is applied in the analysis template. The member who can query can override this value in the query editor.
*/
@JvmName("mdboewgnogtqfbbs")
public suspend fun defaultValue(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.defaultValue = mapped
}
/**
* @param value The name of the parameter. The name must use only alphanumeric, underscore (_), or hyphen (-) characters but cannot start or end with a hyphen.
*/
@JvmName("twwoopgjghmmnjeq")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The type of parameter.
*/
@JvmName("qmgqyeftittarner")
public suspend fun type(`value`: AnalysisTemplateAnalysisParameterType) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.type = mapped
}
internal fun build(): AnalysisTemplateAnalysisParameterArgs =
AnalysisTemplateAnalysisParameterArgs(
defaultValue = defaultValue,
name = name ?: throw PulumiNullFieldException("name"),
type = type ?: throw PulumiNullFieldException("type"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy