
com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardIntegerValueWhenUnsetConfigurationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.DashboardIntegerValueWhenUnsetConfigurationArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardValueWhenUnsetOption
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Double
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 DashboardIntegerValueWhenUnsetConfigurationArgs(
public val customValue: Output? = null,
public val valueWhenUnsetOption: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardIntegerValueWhenUnsetConfigurationArgs =
com.pulumi.awsnative.quicksight.inputs.DashboardIntegerValueWhenUnsetConfigurationArgs.builder()
.customValue(customValue?.applyValue({ args0 -> args0 }))
.valueWhenUnsetOption(
valueWhenUnsetOption?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [DashboardIntegerValueWhenUnsetConfigurationArgs].
*/
@PulumiTagMarker
public class DashboardIntegerValueWhenUnsetConfigurationArgsBuilder 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("wcyuowwaahjnpyqn")
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("qmbqupunlsheuxml")
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("ilwmapvyrognsoig")
public suspend fun customValue(`value`: Double?) {
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("yobfvajtuujhgvxo")
public suspend fun valueWhenUnsetOption(`value`: DashboardValueWhenUnsetOption?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.valueWhenUnsetOption = mapped
}
internal fun build(): DashboardIntegerValueWhenUnsetConfigurationArgs =
DashboardIntegerValueWhenUnsetConfigurationArgs(
customValue = customValue,
valueWhenUnsetOption = valueWhenUnsetOption,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy