com.pulumi.awsnative.quicksight.kotlin.outputs.TemplatePivotTableCellConditionalFormatting.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.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property fieldId The field ID of the cell for conditional formatting.
* @property scope The scope of the cell for conditional formatting.
* @property scopes A list of cell scopes for conditional formatting.
* @property textFormat The text format of the cell for conditional formatting.
*/
public data class TemplatePivotTableCellConditionalFormatting(
public val fieldId: String,
public val scope: TemplatePivotTableConditionalFormattingScope? = null,
public val scopes: List? = null,
public val textFormat: TemplateTextConditionalFormat? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.TemplatePivotTableCellConditionalFormatting): TemplatePivotTableCellConditionalFormatting = TemplatePivotTableCellConditionalFormatting(
fieldId = javaType.fieldId(),
scope = javaType.scope().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplatePivotTableConditionalFormattingScope.Companion.toKotlin(args0)
})
}).orElse(null),
scopes = javaType.scopes().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplatePivotTableConditionalFormattingScope.Companion.toKotlin(args0)
})
}),
textFormat = javaType.textFormat().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateTextConditionalFormat.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}