![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.iotevents.kotlin.inputs.DetectorModelOnInputArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.iotevents.kotlin.inputs
import com.pulumi.awsnative.iotevents.inputs.DetectorModelOnInputArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Specifies the actions performed when the ``condition`` evaluates to TRUE.
* @property events Specifies the actions performed when the ``condition`` evaluates to TRUE.
* @property transitionEvents Specifies the actions performed, and the next state entered, when a ``condition`` evaluates to TRUE.
*/
public data class DetectorModelOnInputArgs(
public val events: Output>? = null,
public val transitionEvents: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.iotevents.inputs.DetectorModelOnInputArgs =
com.pulumi.awsnative.iotevents.inputs.DetectorModelOnInputArgs.builder()
.events(events?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.transitionEvents(
transitionEvents?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [DetectorModelOnInputArgs].
*/
@PulumiTagMarker
public class DetectorModelOnInputArgsBuilder internal constructor() {
private var events: Output>? = null
private var transitionEvents: Output>? = null
/**
* @param value Specifies the actions performed when the ``condition`` evaluates to TRUE.
*/
@JvmName("fwwuxgcybaevsnae")
public suspend fun events(`value`: Output>) {
this.events = value
}
@JvmName("ygqgsldpjdjbapfd")
public suspend fun events(vararg values: Output) {
this.events = Output.all(values.asList())
}
/**
* @param values Specifies the actions performed when the ``condition`` evaluates to TRUE.
*/
@JvmName("xryxlaipqiodxpmp")
public suspend fun events(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy