![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.iotevents.kotlin.inputs.DetectorModelEventArgs.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.iotevents.kotlin.inputs
import com.pulumi.awsnative.iotevents.inputs.DetectorModelEventArgs.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
/**
* Specifies the `actions` to be performed when the `condition` evaluates to `TRUE`.
* @property actions The actions to be performed.
* @property condition The Boolean expression that, when `TRUE`, causes the `actions` to be performed. If not present, the `actions` are performed (=`TRUE`). If the expression result is not a `Boolean` value, the `actions` are not performed (=`FALSE`).
* @property eventName The name of the event.
*/
public data class DetectorModelEventArgs(
public val actions: Output>? = null,
public val condition: Output? = null,
public val eventName: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.iotevents.inputs.DetectorModelEventArgs =
com.pulumi.awsnative.iotevents.inputs.DetectorModelEventArgs.builder()
.actions(
actions?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.condition(condition?.applyValue({ args0 -> args0 }))
.eventName(eventName.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DetectorModelEventArgs].
*/
@PulumiTagMarker
public class DetectorModelEventArgsBuilder internal constructor() {
private var actions: Output>? = null
private var condition: Output? = null
private var eventName: Output? = null
/**
* @param value The actions to be performed.
*/
@JvmName("ogipfmvivnsvyssi")
public suspend fun actions(`value`: Output>) {
this.actions = value
}
@JvmName("cdckcxdanyqmjmto")
public suspend fun actions(vararg values: Output) {
this.actions = Output.all(values.asList())
}
/**
* @param values The actions to be performed.
*/
@JvmName("cybfjybfqnxbktxh")
public suspend fun actions(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy