com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateVisualPaletteArgs.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.TemplateVisualPaletteArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property chartColor The chart color options for the visual palette.
* @property colorMap The color map options for the visual palette.
*/
public data class TemplateVisualPaletteArgs(
public val chartColor: Output? = null,
public val colorMap: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateVisualPaletteArgs =
com.pulumi.awsnative.quicksight.inputs.TemplateVisualPaletteArgs.builder()
.chartColor(chartColor?.applyValue({ args0 -> args0 }))
.colorMap(
colorMap?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [TemplateVisualPaletteArgs].
*/
@PulumiTagMarker
public class TemplateVisualPaletteArgsBuilder internal constructor() {
private var chartColor: Output? = null
private var colorMap: Output>? = null
/**
* @param value The chart color options for the visual palette.
*/
@JvmName("xotyetsjdmfmffit")
public suspend fun chartColor(`value`: Output) {
this.chartColor = value
}
/**
* @param value The color map options for the visual palette.
*/
@JvmName("vurlkvoxyruyudgk")
public suspend fun colorMap(`value`: Output>) {
this.colorMap = value
}
@JvmName("jaictwkljfrgydqj")
public suspend fun colorMap(vararg values: Output) {
this.colorMap = Output.all(values.asList())
}
/**
* @param values The color map options for the visual palette.
*/
@JvmName("lyfrlovijpntmorc")
public suspend fun colorMap(values: List