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

com.pulumi.gcp.dataloss.kotlin.inputs.PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsConditionArgs.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.10.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.PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsConditionArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property minimumRiskScore The minimum data risk score that triggers the condition.
 * Possible values are: `HIGH`, `MEDIUM_OR_HIGH`.
 * @property minimumSensitivityScore The minimum sensitivity level that triggers the condition.
 * Possible values are: `HIGH`, `MEDIUM_OR_HIGH`.
 */
public data class
PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsConditionArgs(
    public val minimumRiskScore: Output? = null,
    public val minimumSensitivityScore: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.dataloss.inputs.PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsConditionArgs =
        com.pulumi.gcp.dataloss.inputs.PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsConditionArgs.builder()
            .minimumRiskScore(minimumRiskScore?.applyValue({ args0 -> args0 }))
            .minimumSensitivityScore(minimumSensitivityScore?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsConditionArgs].
 */
@PulumiTagMarker
public class
PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsConditionArgsBuilder
internal constructor() {
    private var minimumRiskScore: Output? = null

    private var minimumSensitivityScore: Output? = null

    /**
     * @param value The minimum data risk score that triggers the condition.
     * Possible values are: `HIGH`, `MEDIUM_OR_HIGH`.
     */
    @JvmName("jkopwnuvijmmsthe")
    public suspend fun minimumRiskScore(`value`: Output) {
        this.minimumRiskScore = value
    }

    /**
     * @param value The minimum sensitivity level that triggers the condition.
     * Possible values are: `HIGH`, `MEDIUM_OR_HIGH`.
     */
    @JvmName("qxrdnwhqxxcstuje")
    public suspend fun minimumSensitivityScore(`value`: Output) {
        this.minimumSensitivityScore = value
    }

    /**
     * @param value The minimum data risk score that triggers the condition.
     * Possible values are: `HIGH`, `MEDIUM_OR_HIGH`.
     */
    @JvmName("shuhccadirbhibxp")
    public suspend fun minimumRiskScore(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.minimumRiskScore = mapped
    }

    /**
     * @param value The minimum sensitivity level that triggers the condition.
     * Possible values are: `HIGH`, `MEDIUM_OR_HIGH`.
     */
    @JvmName("imvoblirfmrdbsor")
    public suspend fun minimumSensitivityScore(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.minimumSensitivityScore = mapped
    }

    internal fun build(): PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsConditionArgs =
        PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsConditionArgs(
            minimumRiskScore = minimumRiskScore,
            minimumSensitivityScore = minimumSensitivityScore,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy