
com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardKpiSparklineOptionsArgs.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.DashboardKpiSparklineOptionsArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardKpiSparklineType
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardVisibility
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.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property color The color of the sparkline.
* @property tooltipVisibility The tooltip visibility of the sparkline.
* @property type The type of the sparkline.
* @property visibility The visibility of the sparkline.
*/
public data class DashboardKpiSparklineOptionsArgs(
public val color: Output? = null,
public val tooltipVisibility: Output? = null,
public val type: Output,
public val visibility: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardKpiSparklineOptionsArgs =
com.pulumi.awsnative.quicksight.inputs.DashboardKpiSparklineOptionsArgs.builder()
.color(color?.applyValue({ args0 -> args0 }))
.tooltipVisibility(tooltipVisibility?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.type(type.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.visibility(visibility?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [DashboardKpiSparklineOptionsArgs].
*/
@PulumiTagMarker
public class DashboardKpiSparklineOptionsArgsBuilder internal constructor() {
private var color: Output? = null
private var tooltipVisibility: Output? = null
private var type: Output? = null
private var visibility: Output? = null
/**
* @param value The color of the sparkline.
*/
@JvmName("ueqwbnkukhwmmann")
public suspend fun color(`value`: Output) {
this.color = value
}
/**
* @param value The tooltip visibility of the sparkline.
*/
@JvmName("tmvnpawcxxqfuiux")
public suspend fun tooltipVisibility(`value`: Output) {
this.tooltipVisibility = value
}
/**
* @param value The type of the sparkline.
*/
@JvmName("mdvwexmcositblhe")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value The visibility of the sparkline.
*/
@JvmName("hwcjuicingkjgcbl")
public suspend fun visibility(`value`: Output) {
this.visibility = value
}
/**
* @param value The color of the sparkline.
*/
@JvmName("magivqvitsfnouer")
public suspend fun color(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.color = mapped
}
/**
* @param value The tooltip visibility of the sparkline.
*/
@JvmName("cuqlevbbtynqrlud")
public suspend fun tooltipVisibility(`value`: DashboardVisibility?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.tooltipVisibility = mapped
}
/**
* @param value The type of the sparkline.
*/
@JvmName("twxspfwwilhuipye")
public suspend fun type(`value`: DashboardKpiSparklineType) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.type = mapped
}
/**
* @param value The visibility of the sparkline.
*/
@JvmName("gkkdvscggtsdnvfy")
public suspend fun visibility(`value`: DashboardVisibility?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.visibility = mapped
}
internal fun build(): DashboardKpiSparklineOptionsArgs = DashboardKpiSparklineOptionsArgs(
color = color,
tooltipVisibility = tooltipVisibility,
type = type ?: throw PulumiNullFieldException("type"),
visibility = visibility,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy