com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisStringValueWhenUnsetConfigurationArgs.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.AnalysisStringValueWhenUnsetConfigurationArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisValueWhenUnsetOption
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 AnalysisStringValueWhenUnsetConfigurationArgs(
public val customValue: Output? = null,
public val valueWhenUnsetOption: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisStringValueWhenUnsetConfigurationArgs =
com.pulumi.awsnative.quicksight.inputs.AnalysisStringValueWhenUnsetConfigurationArgs.builder()
.customValue(customValue?.applyValue({ args0 -> args0 }))
.valueWhenUnsetOption(
valueWhenUnsetOption?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [AnalysisStringValueWhenUnsetConfigurationArgs].
*/
@PulumiTagMarker
public class AnalysisStringValueWhenUnsetConfigurationArgsBuilder 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("oaeityaelonxaqoe")
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("ibtkoyfftvxbswhb")
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("ldxsrcxnlyrlhqbp")
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("sppucejuolchjdka")
public suspend fun valueWhenUnsetOption(`value`: AnalysisValueWhenUnsetOption?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.valueWhenUnsetOption = mapped
}
internal fun build(): AnalysisStringValueWhenUnsetConfigurationArgs =
AnalysisStringValueWhenUnsetConfigurationArgs(
customValue = customValue,
valueWhenUnsetOption = valueWhenUnsetOption,
)
}