
com.pulumi.awsnative.timestream.kotlin.outputs.ScheduledQueryMixedMeasureMapping.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.timestream.kotlin.outputs
import com.pulumi.awsnative.timestream.kotlin.enums.ScheduledQueryMixedMeasureMappingMeasureValueType
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* MixedMeasureMappings are mappings that can be used to ingest data into a mixture of narrow and multi measures in the derived table.
* @property measureName
* @property measureValueType
* @property multiMeasureAttributeMappings
* @property sourceColumn
* @property targetMeasureName
*/
public data class ScheduledQueryMixedMeasureMapping(
public val measureName: String? = null,
public val measureValueType: ScheduledQueryMixedMeasureMappingMeasureValueType,
public val multiMeasureAttributeMappings: List? =
null,
public val sourceColumn: String? = null,
public val targetMeasureName: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.timestream.outputs.ScheduledQueryMixedMeasureMapping): ScheduledQueryMixedMeasureMapping = ScheduledQueryMixedMeasureMapping(
measureName = javaType.measureName().map({ args0 -> args0 }).orElse(null),
measureValueType = javaType.measureValueType().let({ args0 ->
com.pulumi.awsnative.timestream.kotlin.enums.ScheduledQueryMixedMeasureMappingMeasureValueType.Companion.toKotlin(args0)
}),
multiMeasureAttributeMappings = javaType.multiMeasureAttributeMappings().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.timestream.kotlin.outputs.ScheduledQueryMultiMeasureAttributeMapping.Companion.toKotlin(args0)
})
}),
sourceColumn = javaType.sourceColumn().map({ args0 -> args0 }).orElse(null),
targetMeasureName = javaType.targetMeasureName().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy