
com.pulumi.awsnative.timestream.kotlin.inputs.ScheduledQueryMixedMeasureMappingArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.timestream.kotlin.inputs
import com.pulumi.awsnative.timestream.inputs.ScheduledQueryMixedMeasureMappingArgs.builder
import com.pulumi.awsnative.timestream.kotlin.enums.ScheduledQueryMixedMeasureMappingMeasureValueType
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* 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 ScheduledQueryMixedMeasureMappingArgs(
public val measureName: Output? = null,
public val measureValueType: Output,
public val multiMeasureAttributeMappings: Output>? = null,
public val sourceColumn: Output? = null,
public val targetMeasureName: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.timestream.inputs.ScheduledQueryMixedMeasureMappingArgs =
com.pulumi.awsnative.timestream.inputs.ScheduledQueryMixedMeasureMappingArgs.builder()
.measureName(measureName?.applyValue({ args0 -> args0 }))
.measureValueType(measureValueType.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.multiMeasureAttributeMappings(
multiMeasureAttributeMappings?.applyValue({ args0 ->
args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) })
}),
)
.sourceColumn(sourceColumn?.applyValue({ args0 -> args0 }))
.targetMeasureName(targetMeasureName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ScheduledQueryMixedMeasureMappingArgs].
*/
@PulumiTagMarker
public class ScheduledQueryMixedMeasureMappingArgsBuilder internal constructor() {
private var measureName: Output? = null
private var measureValueType: Output? = null
private var multiMeasureAttributeMappings:
Output>? = null
private var sourceColumn: Output? = null
private var targetMeasureName: Output? = null
/**
* @param value
*/
@JvmName("pnmlnvxxxwnpwynp")
public suspend fun measureName(`value`: Output) {
this.measureName = value
}
/**
* @param value
*/
@JvmName("wtmepubgtwjcrmsy")
public suspend fun measureValueType(`value`: Output) {
this.measureValueType = value
}
/**
* @param value
*/
@JvmName("nonkwsmarlkpppdv")
public suspend fun multiMeasureAttributeMappings(`value`: Output>) {
this.multiMeasureAttributeMappings = value
}
@JvmName("ybrlslwprvpsutjg")
public suspend fun multiMeasureAttributeMappings(vararg values: Output) {
this.multiMeasureAttributeMappings = Output.all(values.asList())
}
/**
* @param values
*/
@JvmName("qdqvgptxdvulscyw")
public suspend fun multiMeasureAttributeMappings(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy