com.pulumi.gcp.dataloss.kotlin.inputs.PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.dataloss.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.dataloss.inputs.PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
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 Conditions to apply to the expression
* Structure is documented below.
* @property logicalOperator The operator to apply to the collection of conditions
* Possible values are: `OR`, `AND`.
*/
public data class PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsArgs(
public val conditions: Output>? =
null,
public val logicalOperator: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dataloss.inputs.PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsArgs =
com.pulumi.gcp.dataloss.inputs.PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsArgs.builder()
.conditions(
conditions?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.logicalOperator(logicalOperator?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsArgs].
*/
@PulumiTagMarker
public class PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsArgsBuilder
internal constructor() {
private var conditions:
Output>? =
null
private var logicalOperator: Output? = null
/**
* @param value Conditions to apply to the expression
* Structure is documented below.
*/
@JvmName("iypkpigndrxvykdj")
public suspend fun conditions(`value`: Output>) {
this.conditions = value
}
@JvmName("xdcmjjlmfqhwkaee")
public suspend fun conditions(vararg values: Output) {
this.conditions = Output.all(values.asList())
}
/**
* @param values Conditions to apply to the expression
* Structure is documented below.
*/
@JvmName("dojpthkqqfdopnki")
public suspend fun conditions(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy