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

com.pulumi.awsnative.timestream.kotlin.outputs.ScheduledQueryMixedMeasureMapping.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.24.0.0
Show newest version
@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