com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisPanelConfiguration.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.AnalysisPanelBorderStyle
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisVisibility
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 AnalysisPanelConfiguration(
public val backgroundColor: String? = null,
public val backgroundVisibility: AnalysisVisibility? = null,
public val borderColor: String? = null,
public val borderStyle: AnalysisPanelBorderStyle? = null,
public val borderThickness: String? = null,
public val borderVisibility: AnalysisVisibility? = null,
public val gutterSpacing: String? = null,
public val gutterVisibility: AnalysisVisibility? = null,
public val title: AnalysisPanelTitleOptions? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.AnalysisPanelConfiguration): AnalysisPanelConfiguration = AnalysisPanelConfiguration(
backgroundColor = javaType.backgroundColor().map({ args0 -> args0 }).orElse(null),
backgroundVisibility = javaType.backgroundVisibility().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisVisibility.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.AnalysisPanelBorderStyle.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.AnalysisVisibility.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.AnalysisVisibility.Companion.toKotlin(args0)
})
}).orElse(null),
title = javaType.title().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisPanelTitleOptions.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}