com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardFunnelChartDataLabelOptions.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.DashboardDataLabelPosition
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardFunnelChartMeasureDataLabelStyle
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardVisibility
import kotlin.String
import kotlin.Suppress
/**
*
* @property categoryLabelVisibility The visibility of the category labels within the data labels.
* @property labelColor The color of the data label text.
* @property labelFontConfiguration The font configuration for the data labels.
* Only the `FontSize` attribute of the font configuration is used for data labels.
* @property measureDataLabelStyle Determines the style of the metric labels.
* @property measureLabelVisibility The visibility of the measure labels within the data labels.
* @property position Determines the positioning of the data label relative to a section of the funnel.
* @property visibility The visibility option that determines if data labels are displayed.
*/
public data class DashboardFunnelChartDataLabelOptions(
public val categoryLabelVisibility: DashboardVisibility? = null,
public val labelColor: String? = null,
public val labelFontConfiguration: DashboardFontConfiguration? = null,
public val measureDataLabelStyle: DashboardFunnelChartMeasureDataLabelStyle? = null,
public val measureLabelVisibility: DashboardVisibility? = null,
public val position: DashboardDataLabelPosition? = null,
public val visibility: DashboardVisibility? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.DashboardFunnelChartDataLabelOptions): DashboardFunnelChartDataLabelOptions = DashboardFunnelChartDataLabelOptions(
categoryLabelVisibility = javaType.categoryLabelVisibility().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.DashboardVisibility.Companion.toKotlin(args0)
})
}).orElse(null),
labelColor = javaType.labelColor().map({ args0 -> args0 }).orElse(null),
labelFontConfiguration = javaType.labelFontConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardFontConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
measureDataLabelStyle = javaType.measureDataLabelStyle().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.DashboardFunnelChartMeasureDataLabelStyle.Companion.toKotlin(args0)
})
}).orElse(null),
measureLabelVisibility = javaType.measureLabelVisibility().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.DashboardVisibility.Companion.toKotlin(args0)
})
}).orElse(null),
position = javaType.position().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.DashboardDataLabelPosition.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),
)
}
}