![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateSubtotalOptionsArgs.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.TemplateSubtotalOptionsArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.TemplatePivotTableSubtotalLevel
import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateVisibility
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 subtotal cells.
* @property fieldLevel The field level (all, custom, last) for the subtotal cells.
* @property fieldLevelOptions The optional configuration of subtotal cells.
* @property metricHeaderCellStyle The cell styling options for the subtotals of header cells.
* @property styleTargets The style targets options for subtotals.
* @property totalCellStyle The cell styling options for the subtotal cells.
* @property totalsVisibility The visibility configuration for the subtotal cells.
* @property valueCellStyle The cell styling options for the subtotals of value cells.
*/
public data class TemplateSubtotalOptionsArgs(
public val customLabel: Output? = null,
public val fieldLevel: Output? = null,
public val fieldLevelOptions: Output>? = null,
public val metricHeaderCellStyle: Output? = null,
public val styleTargets: 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.TemplateSubtotalOptionsArgs =
com.pulumi.awsnative.quicksight.inputs.TemplateSubtotalOptionsArgs.builder()
.customLabel(customLabel?.applyValue({ args0 -> args0 }))
.fieldLevel(fieldLevel?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.fieldLevelOptions(
fieldLevelOptions?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.metricHeaderCellStyle(
metricHeaderCellStyle?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.styleTargets(
styleTargets?.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 [TemplateSubtotalOptionsArgs].
*/
@PulumiTagMarker
public class TemplateSubtotalOptionsArgsBuilder internal constructor() {
private var customLabel: Output? = null
private var fieldLevel: Output? = null
private var fieldLevelOptions: Output>? = null
private var metricHeaderCellStyle: Output? = null
private var styleTargets: 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 subtotal cells.
*/
@JvmName("jcwwbmkixjnrdydb")
public suspend fun customLabel(`value`: Output) {
this.customLabel = value
}
/**
* @param value The field level (all, custom, last) for the subtotal cells.
*/
@JvmName("uritoqfxjrxytkea")
public suspend fun fieldLevel(`value`: Output) {
this.fieldLevel = value
}
/**
* @param value The optional configuration of subtotal cells.
*/
@JvmName("hmjdtstthxmoieif")
public suspend fun fieldLevelOptions(`value`: Output>) {
this.fieldLevelOptions = value
}
@JvmName("kpdrhwowkypikqtd")
public suspend fun fieldLevelOptions(vararg values: Output) {
this.fieldLevelOptions = Output.all(values.asList())
}
/**
* @param values The optional configuration of subtotal cells.
*/
@JvmName("qcklblkrvfbdaeia")
public suspend fun fieldLevelOptions(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy