![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisGridLayoutElementArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.AnalysisGridLayoutElementArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisLayoutElementType
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Double
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @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 AnalysisGridLayoutElementArgs(
public val columnIndex: Output? = null,
public val columnSpan: Output,
public val elementId: Output,
public val elementType: Output,
public val rowIndex: Output? = null,
public val rowSpan: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisGridLayoutElementArgs =
com.pulumi.awsnative.quicksight.inputs.AnalysisGridLayoutElementArgs.builder()
.columnIndex(columnIndex?.applyValue({ args0 -> args0 }))
.columnSpan(columnSpan.applyValue({ args0 -> args0 }))
.elementId(elementId.applyValue({ args0 -> args0 }))
.elementType(elementType.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.rowIndex(rowIndex?.applyValue({ args0 -> args0 }))
.rowSpan(rowSpan.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AnalysisGridLayoutElementArgs].
*/
@PulumiTagMarker
public class AnalysisGridLayoutElementArgsBuilder internal constructor() {
private var columnIndex: Output? = null
private var columnSpan: Output? = null
private var elementId: Output? = null
private var elementType: Output? = null
private var rowIndex: Output? = null
private var rowSpan: Output? = null
/**
* @param value The column index for the upper left corner of an element.
*/
@JvmName("hfeffrexoctfvvjs")
public suspend fun columnIndex(`value`: Output) {
this.columnIndex = value
}
/**
* @param value The width of a grid element expressed as a number of grid columns.
*/
@JvmName("ycyjxotykmbfcpcl")
public suspend fun columnSpan(`value`: Output) {
this.columnSpan = value
}
/**
* @param value A unique identifier for an element within a grid layout.
*/
@JvmName("srugkavmsoigobef")
public suspend fun elementId(`value`: Output) {
this.elementId = value
}
/**
* @param value The type of element.
*/
@JvmName("mwjrhcmsygqntvwm")
public suspend fun elementType(`value`: Output) {
this.elementType = value
}
/**
* @param value The row index for the upper left corner of an element.
*/
@JvmName("qwrdptxohwlvcmfh")
public suspend fun rowIndex(`value`: Output) {
this.rowIndex = value
}
/**
* @param value The height of a grid element expressed as a number of grid rows.
*/
@JvmName("vywidupmddyofggi")
public suspend fun rowSpan(`value`: Output) {
this.rowSpan = value
}
/**
* @param value The column index for the upper left corner of an element.
*/
@JvmName("cloksogsbvsiotbn")
public suspend fun columnIndex(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.columnIndex = mapped
}
/**
* @param value The width of a grid element expressed as a number of grid columns.
*/
@JvmName("disssdrblbbmatug")
public suspend fun columnSpan(`value`: Double) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.columnSpan = mapped
}
/**
* @param value A unique identifier for an element within a grid layout.
*/
@JvmName("gbwtoxmxujcnhowu")
public suspend fun elementId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.elementId = mapped
}
/**
* @param value The type of element.
*/
@JvmName("iftcjjnqdhgmpshf")
public suspend fun elementType(`value`: AnalysisLayoutElementType) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.elementType = mapped
}
/**
* @param value The row index for the upper left corner of an element.
*/
@JvmName("mcqqslevguhxqfwy")
public suspend fun rowIndex(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.rowIndex = mapped
}
/**
* @param value The height of a grid element expressed as a number of grid rows.
*/
@JvmName("ucwboxqhtmhbjilk")
public suspend fun rowSpan(`value`: Double) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.rowSpan = mapped
}
internal fun build(): AnalysisGridLayoutElementArgs = AnalysisGridLayoutElementArgs(
columnIndex = columnIndex,
columnSpan = columnSpan ?: throw PulumiNullFieldException("columnSpan"),
elementId = elementId ?: throw PulumiNullFieldException("elementId"),
elementType = elementType ?: throw PulumiNullFieldException("elementType"),
rowIndex = rowIndex,
rowSpan = rowSpan ?: throw PulumiNullFieldException("rowSpan"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy