com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardReferenceLine.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.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),
)
}
}