![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.iot.kotlin.inputs.IoTHubEnrichmentArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.iot.kotlin.inputs
import com.pulumi.azure.iot.inputs.IoTHubEnrichmentArgs.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 kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property endpointNames The list of endpoints which will be enriched.
* @property key The key of the enrichment.
* @property value The value of the enrichment. Value can be any static string, the name of the IoT Hub sending the message (use `$iothubname`) or information from the device twin (ex: `$twin.tags.latitude`)
*/
public data class IoTHubEnrichmentArgs(
public val endpointNames: Output>,
public val key: Output,
public val `value`: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.iot.inputs.IoTHubEnrichmentArgs =
com.pulumi.azure.iot.inputs.IoTHubEnrichmentArgs.builder()
.endpointNames(endpointNames.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.key(key.applyValue({ args0 -> args0 }))
.`value`(`value`.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [IoTHubEnrichmentArgs].
*/
@PulumiTagMarker
public class IoTHubEnrichmentArgsBuilder internal constructor() {
private var endpointNames: Output>? = null
private var key: Output? = null
private var `value`: Output? = null
/**
* @param value The list of endpoints which will be enriched.
*/
@JvmName("ybghcnuwkmbetqqb")
public suspend fun endpointNames(`value`: Output>) {
this.endpointNames = value
}
@JvmName("tkmmfvyglmfmmnol")
public suspend fun endpointNames(vararg values: Output) {
this.endpointNames = Output.all(values.asList())
}
/**
* @param values The list of endpoints which will be enriched.
*/
@JvmName("ynnvxvkdmlbjfvdm")
public suspend fun endpointNames(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy