
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardDateMeasureField.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 com.pulumi.awsnative.quicksight.kotlin.enums.DashboardDateAggregationFunction
import kotlin.String
import kotlin.Suppress
/**
*
* @property aggregationFunction The aggregation function of the measure field.
* @property column The column that is used in the `DateMeasureField` .
* @property fieldId The custom field ID.
* @property formatConfiguration The format configuration of the field.
*/
public data class DashboardDateMeasureField(
public val aggregationFunction: DashboardDateAggregationFunction? = null,
public val column: DashboardColumnIdentifier,
public val fieldId: String,
public val formatConfiguration: DashboardDateTimeFormatConfiguration? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.DashboardDateMeasureField): DashboardDateMeasureField = DashboardDateMeasureField(
aggregationFunction = javaType.aggregationFunction().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.DashboardDateAggregationFunction.Companion.toKotlin(args0)
})
}).orElse(null),
column = javaType.column().let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardColumnIdentifier.Companion.toKotlin(args0)
}),
fieldId = javaType.fieldId(),
formatConfiguration = javaType.formatConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardDateTimeFormatConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy