All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.dataloss.kotlin.inputs.PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.12.0.0
Show newest version
@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.PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property expressions An expression
 * Structure is documented below.
 */
public data class PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionArgs(
    public val expressions: Output? =
        null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.dataloss.inputs.PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionArgs =
        com.pulumi.gcp.dataloss.inputs.PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionArgs.builder()
            .expressions(expressions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionArgs].
 */
@PulumiTagMarker
public class PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionArgsBuilder internal constructor() {
    private var expressions:
        Output? =
        null

    /**
     * @param value An expression
     * Structure is documented below.
     */
    @JvmName("sngwtlrwgyjmbbag")
    public suspend fun expressions(`value`: Output) {
        this.expressions = value
    }

    /**
     * @param value An expression
     * Structure is documented below.
     */
    @JvmName("bmywxjkcwawxaffc")
    public suspend fun expressions(`value`: PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.expressions = mapped
    }

    /**
     * @param argument An expression
     * Structure is documented below.
     */
    @JvmName("xopkdfnaagwcjnxl")
    public suspend fun expressions(argument: suspend PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsArgsBuilder.() -> Unit) {
        val toBeMapped =
            PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.expressions = mapped
    }

    internal fun build(): PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionArgs =
        PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionArgs(
            expressions = expressions,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy