com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardTableOptionsArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.DashboardTableOptionsArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardTableOrientation
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property cellStyle The table cell style of table cells.
* @property headerStyle The table cell style of a table header.
* @property orientation The orientation (vertical, horizontal) for a table.
* @property rowAlternateColorOptions The row alternate color options (widget status, row alternate colors) for a table.
*/
public data class DashboardTableOptionsArgs(
public val cellStyle: Output? = null,
public val headerStyle: Output? = null,
public val orientation: Output? = null,
public val rowAlternateColorOptions: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardTableOptionsArgs =
com.pulumi.awsnative.quicksight.inputs.DashboardTableOptionsArgs.builder()
.cellStyle(cellStyle?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.headerStyle(headerStyle?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.orientation(orientation?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.rowAlternateColorOptions(
rowAlternateColorOptions?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [DashboardTableOptionsArgs].
*/
@PulumiTagMarker
public class DashboardTableOptionsArgsBuilder internal constructor() {
private var cellStyle: Output? = null
private var headerStyle: Output? = null
private var orientation: Output? = null
private var rowAlternateColorOptions: Output? = null
/**
* @param value The table cell style of table cells.
*/
@JvmName("ixvdtwqybtmukyly")
public suspend fun cellStyle(`value`: Output) {
this.cellStyle = value
}
/**
* @param value The table cell style of a table header.
*/
@JvmName("acagbsxaflrelpqv")
public suspend fun headerStyle(`value`: Output) {
this.headerStyle = value
}
/**
* @param value The orientation (vertical, horizontal) for a table.
*/
@JvmName("yfsbxvgdgcrjhtbf")
public suspend fun orientation(`value`: Output) {
this.orientation = value
}
/**
* @param value The row alternate color options (widget status, row alternate colors) for a table.
*/
@JvmName("jyxlxpkussinussk")
public suspend fun rowAlternateColorOptions(`value`: Output) {
this.rowAlternateColorOptions = value
}
/**
* @param value The table cell style of table cells.
*/
@JvmName("kamstqewoqxuokkk")
public suspend fun cellStyle(`value`: DashboardTableCellStyleArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.cellStyle = mapped
}
/**
* @param argument The table cell style of table cells.
*/
@JvmName("thpgpfcojgethyva")
public suspend fun cellStyle(argument: suspend DashboardTableCellStyleArgsBuilder.() -> Unit) {
val toBeMapped = DashboardTableCellStyleArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.cellStyle = mapped
}
/**
* @param value The table cell style of a table header.
*/
@JvmName("atvixfogswtmsfln")
public suspend fun headerStyle(`value`: DashboardTableCellStyleArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.headerStyle = mapped
}
/**
* @param argument The table cell style of a table header.
*/
@JvmName("wcnvrfubefyshygx")
public suspend fun headerStyle(argument: suspend DashboardTableCellStyleArgsBuilder.() -> Unit) {
val toBeMapped = DashboardTableCellStyleArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.headerStyle = mapped
}
/**
* @param value The orientation (vertical, horizontal) for a table.
*/
@JvmName("eqdhjdlotcpdcund")
public suspend fun orientation(`value`: DashboardTableOrientation?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.orientation = mapped
}
/**
* @param value The row alternate color options (widget status, row alternate colors) for a table.
*/
@JvmName("asqgedodclijgyyi")
public suspend fun rowAlternateColorOptions(`value`: DashboardRowAlternateColorOptionsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.rowAlternateColorOptions = mapped
}
/**
* @param argument The row alternate color options (widget status, row alternate colors) for a table.
*/
@JvmName("lsmgsnddeguqprlw")
public suspend fun rowAlternateColorOptions(argument: suspend DashboardRowAlternateColorOptionsArgsBuilder.() -> Unit) {
val toBeMapped = DashboardRowAlternateColorOptionsArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.rowAlternateColorOptions = mapped
}
internal fun build(): DashboardTableOptionsArgs = DashboardTableOptionsArgs(
cellStyle = cellStyle,
headerStyle = headerStyle,
orientation = orientation,
rowAlternateColorOptions = rowAlternateColorOptions,
)
}