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