com.pulumi.aws.glue.kotlin.inputs.TriggerPredicateArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.glue.kotlin.inputs
import com.pulumi.aws.glue.inputs.TriggerPredicateArgs.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
/**
*
* @property conditions A list of the conditions that determine when the trigger will fire. See Conditions.
* @property logical How to handle multiple conditions. Defaults to `AND`. Valid values are `AND` or `ANY`.
*/
public data class TriggerPredicateArgs(
public val conditions: Output>,
public val logical: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.glue.inputs.TriggerPredicateArgs =
com.pulumi.aws.glue.inputs.TriggerPredicateArgs.builder()
.conditions(
conditions.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.logical(logical?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TriggerPredicateArgs].
*/
@PulumiTagMarker
public class TriggerPredicateArgsBuilder internal constructor() {
private var conditions: Output>? = null
private var logical: Output? = null
/**
* @param value A list of the conditions that determine when the trigger will fire. See Conditions.
*/
@JvmName("njbwxmqcnqvletub")
public suspend fun conditions(`value`: Output>) {
this.conditions = value
}
@JvmName("glnfxdkspvrtxjtq")
public suspend fun conditions(vararg values: Output) {
this.conditions = Output.all(values.asList())
}
/**
* @param values A list of the conditions that determine when the trigger will fire. See Conditions.
*/
@JvmName("mrtbeuojrenssnul")
public suspend fun conditions(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy