![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.iotevents.kotlin.inputs.DetectorModelOnExitArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.iotevents.kotlin.inputs
import com.pulumi.awsnative.iotevents.inputs.DetectorModelOnExitArgs.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
/**
* When exiting this state, perform these ``actions`` if the specified ``condition`` is ``TRUE``.
* @property events Specifies the ``actions`` that are performed when the state is exited and the ``condition`` is ``TRUE``.
*/
public data class DetectorModelOnExitArgs(
public val events: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.iotevents.inputs.DetectorModelOnExitArgs =
com.pulumi.awsnative.iotevents.inputs.DetectorModelOnExitArgs.builder()
.events(
events?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [DetectorModelOnExitArgs].
*/
@PulumiTagMarker
public class DetectorModelOnExitArgsBuilder internal constructor() {
private var events: Output>? = null
/**
* @param value Specifies the ``actions`` that are performed when the state is exited and the ``condition`` is ``TRUE``.
*/
@JvmName("msakepovaxjypgdo")
public suspend fun events(`value`: Output>) {
this.events = value
}
@JvmName("evibtkenojqiykvd")
public suspend fun events(vararg values: Output) {
this.events = Output.all(values.asList())
}
/**
* @param values Specifies the ``actions`` that are performed when the state is exited and the ``condition`` is ``TRUE``.
*/
@JvmName("guaxhmpksftvrfqq")
public suspend fun events(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy