
com.pulumi.awsnative.timestream.kotlin.inputs.ScheduledQueryMultiMeasureMappingsArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.timestream.kotlin.inputs
import com.pulumi.awsnative.timestream.inputs.ScheduledQueryMultiMeasureMappingsArgs.builder
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
/**
* Only one of MixedMeasureMappings or MultiMeasureMappings is to be provided. MultiMeasureMappings can be used to ingest data as multi measures in the derived table.
* @property multiMeasureAttributeMappings Required. Attribute mappings to be used for mapping query results to ingest data for multi-measure attributes.
* @property targetMultiMeasureName The name of the target multi-measure name in the derived table. This input is required when measureNameColumn is not provided. If MeasureNameColumn is provided, then value from that column will be used as multi-measure name.
*/
public data class ScheduledQueryMultiMeasureMappingsArgs(
public val multiMeasureAttributeMappings: Output>,
public val targetMultiMeasureName: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.timestream.inputs.ScheduledQueryMultiMeasureMappingsArgs =
com.pulumi.awsnative.timestream.inputs.ScheduledQueryMultiMeasureMappingsArgs.builder()
.multiMeasureAttributeMappings(
multiMeasureAttributeMappings.applyValue({ args0 ->
args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) })
}),
)
.targetMultiMeasureName(targetMultiMeasureName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ScheduledQueryMultiMeasureMappingsArgs].
*/
@PulumiTagMarker
public class ScheduledQueryMultiMeasureMappingsArgsBuilder internal constructor() {
private var multiMeasureAttributeMappings:
Output>? = null
private var targetMultiMeasureName: Output? = null
/**
* @param value Required. Attribute mappings to be used for mapping query results to ingest data for multi-measure attributes.
*/
@JvmName("yvjllebwpdhvpydp")
public suspend fun multiMeasureAttributeMappings(`value`: Output>) {
this.multiMeasureAttributeMappings = value
}
@JvmName("gxxwayxgtxauckrs")
public suspend fun multiMeasureAttributeMappings(vararg values: Output) {
this.multiMeasureAttributeMappings = Output.all(values.asList())
}
/**
* @param values Required. Attribute mappings to be used for mapping query results to ingest data for multi-measure attributes.
*/
@JvmName("jqnhmhbxbldxqpip")
public suspend fun multiMeasureAttributeMappings(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy