![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardPivotTotalOptionsArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.DashboardPivotTotalOptionsArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardTableTotalsPlacement
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardTableTotalsScrollStatus
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardVisibility
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property customLabel The custom label string for the total cells.
* @property metricHeaderCellStyle The cell styling options for the total of header cells.
* @property placement The placement (start, end) for the total cells.
* @property scrollStatus The scroll status (pinned, scrolled) for the total cells.
* @property totalAggregationOptions The total aggregation options for each value field.
* @property totalCellStyle The cell styling options for the total cells.
* @property totalsVisibility The visibility configuration for the total cells.
* @property valueCellStyle The cell styling options for the totals of value cells.
*/
public data class DashboardPivotTotalOptionsArgs(
public val customLabel: Output? = null,
public val metricHeaderCellStyle: Output? = null,
public val placement: Output? = null,
public val scrollStatus: Output? = null,
public val totalAggregationOptions: Output>? = null,
public val totalCellStyle: Output? = null,
public val totalsVisibility: Output? = null,
public val valueCellStyle: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardPivotTotalOptionsArgs =
com.pulumi.awsnative.quicksight.inputs.DashboardPivotTotalOptionsArgs.builder()
.customLabel(customLabel?.applyValue({ args0 -> args0 }))
.metricHeaderCellStyle(
metricHeaderCellStyle?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.placement(placement?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.scrollStatus(scrollStatus?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.totalAggregationOptions(
totalAggregationOptions?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.totalCellStyle(totalCellStyle?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.totalsVisibility(totalsVisibility?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.valueCellStyle(
valueCellStyle?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [DashboardPivotTotalOptionsArgs].
*/
@PulumiTagMarker
public class DashboardPivotTotalOptionsArgsBuilder internal constructor() {
private var customLabel: Output? = null
private var metricHeaderCellStyle: Output? = null
private var placement: Output? = null
private var scrollStatus: Output? = null
private var totalAggregationOptions: Output>? = null
private var totalCellStyle: Output? = null
private var totalsVisibility: Output? = null
private var valueCellStyle: Output? = null
/**
* @param value The custom label string for the total cells.
*/
@JvmName("ltoixtqiyrsnwnuq")
public suspend fun customLabel(`value`: Output) {
this.customLabel = value
}
/**
* @param value The cell styling options for the total of header cells.
*/
@JvmName("twqyorddenkkhcjm")
public suspend fun metricHeaderCellStyle(`value`: Output) {
this.metricHeaderCellStyle = value
}
/**
* @param value The placement (start, end) for the total cells.
*/
@JvmName("bofmibwgnnibwlec")
public suspend fun placement(`value`: Output) {
this.placement = value
}
/**
* @param value The scroll status (pinned, scrolled) for the total cells.
*/
@JvmName("kwhjuorwigbrbplw")
public suspend fun scrollStatus(`value`: Output) {
this.scrollStatus = value
}
/**
* @param value The total aggregation options for each value field.
*/
@JvmName("mojfwbjnqjneljxw")
public suspend fun totalAggregationOptions(`value`: Output>) {
this.totalAggregationOptions = value
}
@JvmName("qsxitwufdqkfudng")
public suspend fun totalAggregationOptions(vararg values: Output) {
this.totalAggregationOptions = Output.all(values.asList())
}
/**
* @param values The total aggregation options for each value field.
*/
@JvmName("oaffnnulhhachoog")
public suspend fun totalAggregationOptions(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy