All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardMeasureField.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.11.0.0
Show newest version
@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),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy