
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateGridLayoutElement.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.TemplateLayoutElementType
import kotlin.Double
import kotlin.String
import kotlin.Suppress
/**
*
* @property columnIndex The column index for the upper left corner of an element.
* @property columnSpan The width of a grid element expressed as a number of grid columns.
* @property elementId A unique identifier for an element within a grid layout.
* @property elementType The type of element.
* @property rowIndex The row index for the upper left corner of an element.
* @property rowSpan The height of a grid element expressed as a number of grid rows.
*/
public data class TemplateGridLayoutElement(
public val columnIndex: Double? = null,
public val columnSpan: Double,
public val elementId: String,
public val elementType: TemplateLayoutElementType,
public val rowIndex: Double? = null,
public val rowSpan: Double,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.TemplateGridLayoutElement): TemplateGridLayoutElement = TemplateGridLayoutElement(
columnIndex = javaType.columnIndex().map({ args0 -> args0 }).orElse(null),
columnSpan = javaType.columnSpan(),
elementId = javaType.elementId(),
elementType = javaType.elementType().let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.TemplateLayoutElementType.Companion.toKotlin(args0)
}),
rowIndex = javaType.rowIndex().map({ args0 -> args0 }).orElse(null),
rowSpan = javaType.rowSpan(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy