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

com.pulumi.awsnative.timestream.kotlin.outputs.ScheduledQueryMultiMeasureAttributeMapping.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.timestream.kotlin.outputs

import com.pulumi.awsnative.timestream.kotlin.enums.ScheduledQueryMultiMeasureAttributeMappingMeasureValueType
import kotlin.String
import kotlin.Suppress

/**
 * An attribute mapping to be used for mapping query results to ingest data for multi-measure attributes.
 * @property measureValueType
 * @property sourceColumn
 * @property targetMultiMeasureAttributeName
 */
public data class ScheduledQueryMultiMeasureAttributeMapping(
    public val measureValueType: ScheduledQueryMultiMeasureAttributeMappingMeasureValueType,
    public val sourceColumn: String,
    public val targetMultiMeasureAttributeName: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.timestream.outputs.ScheduledQueryMultiMeasureAttributeMapping): ScheduledQueryMultiMeasureAttributeMapping = ScheduledQueryMultiMeasureAttributeMapping(
            measureValueType = javaType.measureValueType().let({ args0 ->
                com.pulumi.awsnative.timestream.kotlin.enums.ScheduledQueryMultiMeasureAttributeMappingMeasureValueType.Companion.toKotlin(args0)
            }),
            sourceColumn = javaType.sourceColumn(),
            targetMultiMeasureAttributeName = javaType.targetMultiMeasureAttributeName().map({ args0 ->
                args0
            }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy