![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardPanelConfiguration.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.outputs
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardPanelBorderStyle
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardVisibility
import kotlin.String
import kotlin.Suppress
/**
*
* @property backgroundColor Sets the background color for each panel.
* @property backgroundVisibility Determines whether or not a background for each small multiples panel is rendered.
* @property borderColor Sets the line color of panel borders.
* @property borderStyle Sets the line style of panel borders.
* @property borderThickness String based length that is composed of value and unit in px
* @property borderVisibility Determines whether or not each panel displays a border.
* @property gutterSpacing String based length that is composed of value and unit in px
* @property gutterVisibility Determines whether or not negative space between sibling panels is rendered.
* @property title Configures the title display within each small multiples panel.
*/
public data class DashboardPanelConfiguration(
public val backgroundColor: String? = null,
public val backgroundVisibility: DashboardVisibility? = null,
public val borderColor: String? = null,
public val borderStyle: DashboardPanelBorderStyle? = null,
public val borderThickness: String? = null,
public val borderVisibility: DashboardVisibility? = null,
public val gutterSpacing: String? = null,
public val gutterVisibility: DashboardVisibility? = null,
public val title: DashboardPanelTitleOptions? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.DashboardPanelConfiguration): DashboardPanelConfiguration = DashboardPanelConfiguration(
backgroundColor = javaType.backgroundColor().map({ args0 -> args0 }).orElse(null),
backgroundVisibility = javaType.backgroundVisibility().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.DashboardVisibility.Companion.toKotlin(args0)
})
}).orElse(null),
borderColor = javaType.borderColor().map({ args0 -> args0 }).orElse(null),
borderStyle = javaType.borderStyle().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.DashboardPanelBorderStyle.Companion.toKotlin(args0)
})
}).orElse(null),
borderThickness = javaType.borderThickness().map({ args0 -> args0 }).orElse(null),
borderVisibility = javaType.borderVisibility().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.DashboardVisibility.Companion.toKotlin(args0)
})
}).orElse(null),
gutterSpacing = javaType.gutterSpacing().map({ args0 -> args0 }).orElse(null),
gutterVisibility = javaType.gutterVisibility().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.DashboardVisibility.Companion.toKotlin(args0)
})
}).orElse(null),
title = javaType.title().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardPanelTitleOptions.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy