
com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateStringValueWhenUnsetConfigurationArgs.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.inputs
import com.pulumi.awsnative.quicksight.inputs.TemplateStringValueWhenUnsetConfigurationArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateValueWhenUnsetOption
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property customValue A custom value that's used when the value of a parameter isn't set.
* @property valueWhenUnsetOption The built-in options for default values. The value can be one of the following:
* - `RECOMMENDED` : The recommended value.
* - `NULL` : The `NULL` value.
*/
public data class TemplateStringValueWhenUnsetConfigurationArgs(
public val customValue: Output? = null,
public val valueWhenUnsetOption: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateStringValueWhenUnsetConfigurationArgs =
com.pulumi.awsnative.quicksight.inputs.TemplateStringValueWhenUnsetConfigurationArgs.builder()
.customValue(customValue?.applyValue({ args0 -> args0 }))
.valueWhenUnsetOption(
valueWhenUnsetOption?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [TemplateStringValueWhenUnsetConfigurationArgs].
*/
@PulumiTagMarker
public class TemplateStringValueWhenUnsetConfigurationArgsBuilder internal constructor() {
private var customValue: Output? = null
private var valueWhenUnsetOption: Output? = null
/**
* @param value A custom value that's used when the value of a parameter isn't set.
*/
@JvmName("kvpcyvbqhqhsvvoy")
public suspend fun customValue(`value`: Output) {
this.customValue = value
}
/**
* @param value The built-in options for default values. The value can be one of the following:
* - `RECOMMENDED` : The recommended value.
* - `NULL` : The `NULL` value.
*/
@JvmName("yupadholhvadarvf")
public suspend fun valueWhenUnsetOption(`value`: Output) {
this.valueWhenUnsetOption = value
}
/**
* @param value A custom value that's used when the value of a parameter isn't set.
*/
@JvmName("lapjchtkiyvsetbl")
public suspend fun customValue(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.customValue = mapped
}
/**
* @param value The built-in options for default values. The value can be one of the following:
* - `RECOMMENDED` : The recommended value.
* - `NULL` : The `NULL` value.
*/
@JvmName("sbwgumyoxhvmwwci")
public suspend fun valueWhenUnsetOption(`value`: TemplateValueWhenUnsetOption?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.valueWhenUnsetOption = mapped
}
internal fun build(): TemplateStringValueWhenUnsetConfigurationArgs =
TemplateStringValueWhenUnsetConfigurationArgs(
customValue = customValue,
valueWhenUnsetOption = valueWhenUnsetOption,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy