
com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisGridLayoutElementArgs.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.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("mdcerehfxrfscgpu")
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("smcdhhsjgkpukoey")
public suspend fun columnSpan(`value`: Output) {
this.columnSpan = value
}
/**
* @param value A unique identifier for an element within a grid layout.
*/
@JvmName("pprptivhhjneeimx")
public suspend fun elementId(`value`: Output) {
this.elementId = value
}
/**
* @param value The type of element.
*/
@JvmName("harsiwgfeewmljsp")
public suspend fun elementType(`value`: Output) {
this.elementType = value
}
/**
* @param value The row index for the upper left corner of an element.
*/
@JvmName("ykurvgcmbaslpsbg")
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("lsoseypltqryugly")
public suspend fun rowSpan(`value`: Output) {
this.rowSpan = value
}
/**
* @param value The column index for the upper left corner of an element.
*/
@JvmName("cfammugsjfkggejn")
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("aidxlatvxuqggppw")
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("uwruvwvnmirltqcv")
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("arevcaswbqwixlnx")
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("ymhgwlewdqecdubw")
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("pwfbhforkswkafhf")
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