com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisSectionStyle.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 kotlin.String
import kotlin.Suppress
/**
*
* @property height String based length that is composed of value and unit in px
* @property padding The spacing between section content and its top, bottom, left, and right edges.
* There is no padding by default.
*/
public data class AnalysisSectionStyle(
public val height: String? = null,
public val padding: AnalysisSpacing? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.AnalysisSectionStyle): AnalysisSectionStyle = AnalysisSectionStyle(
height = javaType.height().map({ args0 -> args0 }).orElse(null),
padding = javaType.padding().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisSpacing.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}