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

com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardLegendOptions.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.DashboardLegendPosition
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardVisibility
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property height String based length that is composed of value and unit in px
 * @property position The positions for the legend. Choose one of the following options:
 * - `AUTO`
 * - `RIGHT`
 * - `BOTTOM`
 * - `LEFT`
 * @property title The custom title for the legend.
 * @property visibility Determines whether or not the legend is visible.
 * @property width String based length that is composed of value and unit in px
 */
public data class DashboardLegendOptions(
    public val height: String? = null,
    public val position: DashboardLegendPosition? = null,
    public val title: DashboardLabelOptions? = null,
    public val visibility: DashboardVisibility? = null,
    public val width: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.DashboardLegendOptions): DashboardLegendOptions = DashboardLegendOptions(
            height = javaType.height().map({ args0 -> args0 }).orElse(null),
            position = javaType.position().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.DashboardLegendPosition.Companion.toKotlin(args0)
                })
            }).orElse(null),
            title = javaType.title().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardLabelOptions.Companion.toKotlin(args0)
                })
            }).orElse(null),
            visibility = javaType.visibility().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.DashboardVisibility.Companion.toKotlin(args0)
                })
            }).orElse(null),
            width = javaType.width().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy