
com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateNegativeValueConfigurationArgs.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.TemplateNegativeValueConfigurationArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateNegativeValueDisplayMode
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.Suppress
import kotlin.jvm.JvmName
/**
*
* @property displayMode Determines the display mode of the negative value configuration.
*/
public data class TemplateNegativeValueConfigurationArgs(
public val displayMode: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateNegativeValueConfigurationArgs =
com.pulumi.awsnative.quicksight.inputs.TemplateNegativeValueConfigurationArgs.builder()
.displayMode(displayMode.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [TemplateNegativeValueConfigurationArgs].
*/
@PulumiTagMarker
public class TemplateNegativeValueConfigurationArgsBuilder internal constructor() {
private var displayMode: Output? = null
/**
* @param value Determines the display mode of the negative value configuration.
*/
@JvmName("fjnjauxugrcdhhrs")
public suspend fun displayMode(`value`: Output) {
this.displayMode = value
}
/**
* @param value Determines the display mode of the negative value configuration.
*/
@JvmName("ecsuccncdsxehswe")
public suspend fun displayMode(`value`: TemplateNegativeValueDisplayMode) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.displayMode = mapped
}
internal fun build(): TemplateNegativeValueConfigurationArgs =
TemplateNegativeValueConfigurationArgs(
displayMode = displayMode ?: throw PulumiNullFieldException("displayMode"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy