
com.pulumi.awsnative.timestream.kotlin.inputs.ScheduledQueryMultiMeasureAttributeMappingArgs.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.inputs
import com.pulumi.awsnative.timestream.inputs.ScheduledQueryMultiMeasureAttributeMappingArgs.builder
import com.pulumi.awsnative.timestream.kotlin.enums.ScheduledQueryMultiMeasureAttributeMappingMeasureValueType
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 kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* 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 ScheduledQueryMultiMeasureAttributeMappingArgs(
public val measureValueType: Output,
public val sourceColumn: Output,
public val targetMultiMeasureAttributeName: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.timestream.inputs.ScheduledQueryMultiMeasureAttributeMappingArgs =
com.pulumi.awsnative.timestream.inputs.ScheduledQueryMultiMeasureAttributeMappingArgs.builder()
.measureValueType(measureValueType.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.sourceColumn(sourceColumn.applyValue({ args0 -> args0 }))
.targetMultiMeasureAttributeName(
targetMultiMeasureAttributeName?.applyValue({ args0 ->
args0
}),
).build()
}
/**
* Builder for [ScheduledQueryMultiMeasureAttributeMappingArgs].
*/
@PulumiTagMarker
public class ScheduledQueryMultiMeasureAttributeMappingArgsBuilder internal constructor() {
private var measureValueType: Output? =
null
private var sourceColumn: Output? = null
private var targetMultiMeasureAttributeName: Output? = null
/**
* @param value
*/
@JvmName("bqkxeirgujtfytjg")
public suspend fun measureValueType(`value`: Output) {
this.measureValueType = value
}
/**
* @param value
*/
@JvmName("yfykqerdkuawwewp")
public suspend fun sourceColumn(`value`: Output) {
this.sourceColumn = value
}
/**
* @param value
*/
@JvmName("cpkeuugunnowacfb")
public suspend fun targetMultiMeasureAttributeName(`value`: Output) {
this.targetMultiMeasureAttributeName = value
}
/**
* @param value
*/
@JvmName("asyqyaulaixrrvqs")
public suspend fun measureValueType(`value`: ScheduledQueryMultiMeasureAttributeMappingMeasureValueType) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.measureValueType = mapped
}
/**
* @param value
*/
@JvmName("qnbtsbvexboxavck")
public suspend fun sourceColumn(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.sourceColumn = mapped
}
/**
* @param value
*/
@JvmName("duvelahkkrwyeaik")
public suspend fun targetMultiMeasureAttributeName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.targetMultiMeasureAttributeName = mapped
}
internal fun build(): ScheduledQueryMultiMeasureAttributeMappingArgs =
ScheduledQueryMultiMeasureAttributeMappingArgs(
measureValueType = measureValueType ?: throw PulumiNullFieldException("measureValueType"),
sourceColumn = sourceColumn ?: throw PulumiNullFieldException("sourceColumn"),
targetMultiMeasureAttributeName = targetMultiMeasureAttributeName,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy