com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardMeasureField.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.Suppress
/**
*
* @property calculatedMeasureField The calculated measure field only used in pivot tables.
* @property categoricalMeasureField The measure type field with categorical type columns.
* @property dateMeasureField The measure type field with date type columns.
* @property numericalMeasureField The measure type field with numerical type columns.
*/
public data class DashboardMeasureField(
public val calculatedMeasureField: DashboardCalculatedMeasureField? = null,
public val categoricalMeasureField: DashboardCategoricalMeasureField? = null,
public val dateMeasureField: DashboardDateMeasureField? = null,
public val numericalMeasureField: DashboardNumericalMeasureField? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.DashboardMeasureField): DashboardMeasureField = DashboardMeasureField(
calculatedMeasureField = javaType.calculatedMeasureField().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardCalculatedMeasureField.Companion.toKotlin(args0)
})
}).orElse(null),
categoricalMeasureField = javaType.categoricalMeasureField().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardCategoricalMeasureField.Companion.toKotlin(args0)
})
}).orElse(null),
dateMeasureField = javaType.dateMeasureField().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardDateMeasureField.Companion.toKotlin(args0)
})
}).orElse(null),
numericalMeasureField = javaType.numericalMeasureField().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardNumericalMeasureField.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}