
com.pulumi.awsnative.timestream.kotlin.outputs.ScheduledQueryMultiMeasureMappings.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.timestream.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* Only one of MixedMeasureMappings or MultiMeasureMappings is to be provided. MultiMeasureMappings can be used to ingest data as multi measures in the derived table.
* @property multiMeasureAttributeMappings Required. Attribute mappings to be used for mapping query results to ingest data for multi-measure attributes.
* @property targetMultiMeasureName The name of the target multi-measure name in the derived table. This input is required when measureNameColumn is not provided. If MeasureNameColumn is provided, then value from that column will be used as multi-measure name.
*/
public data class ScheduledQueryMultiMeasureMappings(
public val multiMeasureAttributeMappings: List,
public val targetMultiMeasureName: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.timestream.outputs.ScheduledQueryMultiMeasureMappings): ScheduledQueryMultiMeasureMappings = ScheduledQueryMultiMeasureMappings(
multiMeasureAttributeMappings = javaType.multiMeasureAttributeMappings().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.timestream.kotlin.outputs.ScheduledQueryMultiMeasureAttributeMapping.Companion.toKotlin(args0)
})
}),
targetMultiMeasureName = javaType.targetMultiMeasureName().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy