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

com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateReferenceLine.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.quicksight.kotlin.outputs

import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateWidgetStatus
import kotlin.Suppress

/**
 *
 * @property dataConfiguration The data configuration of the reference line.
 * @property labelConfiguration The label configuration of the reference line.
 * @property status The status of the reference line. Choose one of the following options:
 * - `ENABLE`
 * - `DISABLE`
 * @property styleConfiguration The style configuration of the reference line.
 */
public data class TemplateReferenceLine(
    public val dataConfiguration: TemplateReferenceLineDataConfiguration,
    public val labelConfiguration: TemplateReferenceLineLabelConfiguration? = null,
    public val status: TemplateWidgetStatus? = null,
    public val styleConfiguration: TemplateReferenceLineStyleConfiguration? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.TemplateReferenceLine): TemplateReferenceLine = TemplateReferenceLine(
            dataConfiguration = javaType.dataConfiguration().let({ args0 ->
                com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateReferenceLineDataConfiguration.Companion.toKotlin(args0)
            }),
            labelConfiguration = javaType.labelConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateReferenceLineLabelConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            status = javaType.status().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.TemplateWidgetStatus.Companion.toKotlin(args0)
                })
            }).orElse(null),
            styleConfiguration = javaType.styleConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateReferenceLineStyleConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy