
com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardGradientStopArgs.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.DashboardGradientStopArgs.builder
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.Double
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property color Determines the color.
* @property dataValue Determines the data value.
* @property gradientOffset Determines gradient offset value.
*/
public data class DashboardGradientStopArgs(
public val color: Output? = null,
public val dataValue: Output? = null,
public val gradientOffset: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardGradientStopArgs =
com.pulumi.awsnative.quicksight.inputs.DashboardGradientStopArgs.builder()
.color(color?.applyValue({ args0 -> args0 }))
.dataValue(dataValue?.applyValue({ args0 -> args0 }))
.gradientOffset(gradientOffset.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DashboardGradientStopArgs].
*/
@PulumiTagMarker
public class DashboardGradientStopArgsBuilder internal constructor() {
private var color: Output? = null
private var dataValue: Output? = null
private var gradientOffset: Output? = null
/**
* @param value Determines the color.
*/
@JvmName("xlbqkwcwhypefqfw")
public suspend fun color(`value`: Output) {
this.color = value
}
/**
* @param value Determines the data value.
*/
@JvmName("hewaxnmqtxxoolqw")
public suspend fun dataValue(`value`: Output) {
this.dataValue = value
}
/**
* @param value Determines gradient offset value.
*/
@JvmName("lrblkpxhkrdteuae")
public suspend fun gradientOffset(`value`: Output) {
this.gradientOffset = value
}
/**
* @param value Determines the color.
*/
@JvmName("kpjsdcnnwewcyfji")
public suspend fun color(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.color = mapped
}
/**
* @param value Determines the data value.
*/
@JvmName("jiewfxvbhpbsllqd")
public suspend fun dataValue(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.dataValue = mapped
}
/**
* @param value Determines gradient offset value.
*/
@JvmName("jpornwwytobnyflk")
public suspend fun gradientOffset(`value`: Double) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.gradientOffset = mapped
}
internal fun build(): DashboardGradientStopArgs = DashboardGradientStopArgs(
color = color,
dataValue = dataValue,
gradientOffset = gradientOffset ?: throw PulumiNullFieldException("gradientOffset"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy