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

com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardReferenceLine.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.11.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardWidgetStatus
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 DashboardReferenceLine(
    public val dataConfiguration: DashboardReferenceLineDataConfiguration,
    public val labelConfiguration: DashboardReferenceLineLabelConfiguration? = null,
    public val status: DashboardWidgetStatus? = null,
    public val styleConfiguration: DashboardReferenceLineStyleConfiguration? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.DashboardReferenceLine): DashboardReferenceLine = DashboardReferenceLine(
            dataConfiguration = javaType.dataConfiguration().let({ args0 ->
                com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardReferenceLineDataConfiguration.Companion.toKotlin(args0)
            }),
            labelConfiguration = javaType.labelConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardReferenceLineLabelConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            status = javaType.status().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.DashboardWidgetStatus.Companion.toKotlin(args0)
                })
            }).orElse(null),
            styleConfiguration = javaType.styleConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardReferenceLineStyleConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy