
com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateReferenceLineStyleConfigurationArgs.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.TemplateReferenceLineStyleConfigurationArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateReferenceLinePatternType
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property color The hex color of the reference line.
* @property pattern The pattern type of the line style. Choose one of the following options:
* - `SOLID`
* - `DASHED`
* - `DOTTED`
*/
public data class TemplateReferenceLineStyleConfigurationArgs(
public val color: Output? = null,
public val pattern: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateReferenceLineStyleConfigurationArgs =
com.pulumi.awsnative.quicksight.inputs.TemplateReferenceLineStyleConfigurationArgs.builder()
.color(color?.applyValue({ args0 -> args0 }))
.pattern(pattern?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [TemplateReferenceLineStyleConfigurationArgs].
*/
@PulumiTagMarker
public class TemplateReferenceLineStyleConfigurationArgsBuilder internal constructor() {
private var color: Output? = null
private var pattern: Output? = null
/**
* @param value The hex color of the reference line.
*/
@JvmName("ognhgxvosrvmclje")
public suspend fun color(`value`: Output) {
this.color = value
}
/**
* @param value The pattern type of the line style. Choose one of the following options:
* - `SOLID`
* - `DASHED`
* - `DOTTED`
*/
@JvmName("lavppxrofjcrcqso")
public suspend fun pattern(`value`: Output) {
this.pattern = value
}
/**
* @param value The hex color of the reference line.
*/
@JvmName("hxyechogxbunfxgv")
public suspend fun color(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.color = mapped
}
/**
* @param value The pattern type of the line style. Choose one of the following options:
* - `SOLID`
* - `DASHED`
* - `DOTTED`
*/
@JvmName("xubdilkgxcbbynce")
public suspend fun pattern(`value`: TemplateReferenceLinePatternType?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.pattern = mapped
}
internal fun build(): TemplateReferenceLineStyleConfigurationArgs =
TemplateReferenceLineStyleConfigurationArgs(
color = color,
pattern = pattern,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy