![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardSubtotalOptions.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.outputs
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardPivotTableSubtotalLevel
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardVisibility
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @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 DashboardSubtotalOptions(
public val customLabel: String? = null,
public val fieldLevel: DashboardPivotTableSubtotalLevel? = null,
public val fieldLevelOptions: List? = null,
public val metricHeaderCellStyle: DashboardTableCellStyle? = null,
public val styleTargets: List? = null,
public val totalCellStyle: DashboardTableCellStyle? = null,
public val totalsVisibility: DashboardVisibility? = null,
public val valueCellStyle: DashboardTableCellStyle? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.DashboardSubtotalOptions): DashboardSubtotalOptions = DashboardSubtotalOptions(
customLabel = javaType.customLabel().map({ args0 -> args0 }).orElse(null),
fieldLevel = javaType.fieldLevel().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.DashboardPivotTableSubtotalLevel.Companion.toKotlin(args0)
})
}).orElse(null),
fieldLevelOptions = javaType.fieldLevelOptions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardPivotTableFieldSubtotalOptions.Companion.toKotlin(args0)
})
}),
metricHeaderCellStyle = javaType.metricHeaderCellStyle().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardTableCellStyle.Companion.toKotlin(args0)
})
}).orElse(null),
styleTargets = javaType.styleTargets().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardTableStyleTarget.Companion.toKotlin(args0)
})
}),
totalCellStyle = javaType.totalCellStyle().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardTableCellStyle.Companion.toKotlin(args0)
})
}).orElse(null),
totalsVisibility = javaType.totalsVisibility().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.DashboardVisibility.Companion.toKotlin(args0)
})
}).orElse(null),
valueCellStyle = javaType.valueCellStyle().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardTableCellStyle.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy