All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardReferenceLineStyleConfigurationArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.quicksight.kotlin.inputs

import com.pulumi.awsnative.quicksight.inputs.DashboardReferenceLineStyleConfigurationArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardReferenceLinePatternType
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 DashboardReferenceLineStyleConfigurationArgs(
    public val color: Output? = null,
    public val pattern: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardReferenceLineStyleConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.DashboardReferenceLineStyleConfigurationArgs.builder()
            .color(color?.applyValue({ args0 -> args0 }))
            .pattern(pattern?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [DashboardReferenceLineStyleConfigurationArgs].
 */
@PulumiTagMarker
public class DashboardReferenceLineStyleConfigurationArgsBuilder internal constructor() {
    private var color: Output? = null

    private var pattern: Output? = null

    /**
     * @param value The hex color of the reference line.
     */
    @JvmName("slqtyjelunjttlhx")
    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("vxrvblslpusnwkgv")
    public suspend fun pattern(`value`: Output) {
        this.pattern = value
    }

    /**
     * @param value The hex color of the reference line.
     */
    @JvmName("wkhnhwywsqmrydtp")
    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("mnkkycuvjrukrnas")
    public suspend fun pattern(`value`: DashboardReferenceLinePatternType?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.pattern = mapped
    }

    internal fun build(): DashboardReferenceLineStyleConfigurationArgs =
        DashboardReferenceLineStyleConfigurationArgs(
            color = color,
            pattern = pattern,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy