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

com.pulumi.cloudflare.kotlin.inputs.ZeroTrustRiskBehaviorBehaviorArgs.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: 5.40.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.cloudflare.kotlin.inputs

import com.pulumi.cloudflare.inputs.ZeroTrustRiskBehaviorBehaviorArgs.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 kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property enabled Whether this risk behavior type is enabled.
 * @property name Name of this risk behavior type
 * @property riskLevel Risk level. Available values: `low`, `medium`, `high`
 */
public data class ZeroTrustRiskBehaviorBehaviorArgs(
    public val enabled: Output,
    public val name: Output,
    public val riskLevel: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.cloudflare.inputs.ZeroTrustRiskBehaviorBehaviorArgs =
        com.pulumi.cloudflare.inputs.ZeroTrustRiskBehaviorBehaviorArgs.builder()
            .enabled(enabled.applyValue({ args0 -> args0 }))
            .name(name.applyValue({ args0 -> args0 }))
            .riskLevel(riskLevel.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ZeroTrustRiskBehaviorBehaviorArgs].
 */
@PulumiTagMarker
public class ZeroTrustRiskBehaviorBehaviorArgsBuilder internal constructor() {
    private var enabled: Output? = null

    private var name: Output? = null

    private var riskLevel: Output? = null

    /**
     * @param value Whether this risk behavior type is enabled.
     */
    @JvmName("pintigxoyugsannm")
    public suspend fun enabled(`value`: Output) {
        this.enabled = value
    }

    /**
     * @param value Name of this risk behavior type
     */
    @JvmName("ywmxqwxihdgykxts")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value Risk level. Available values: `low`, `medium`, `high`
     */
    @JvmName("jlswpikgcqxxvviv")
    public suspend fun riskLevel(`value`: Output) {
        this.riskLevel = value
    }

    /**
     * @param value Whether this risk behavior type is enabled.
     */
    @JvmName("mrckodrddkebxpbv")
    public suspend fun enabled(`value`: Boolean) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.enabled = mapped
    }

    /**
     * @param value Name of this risk behavior type
     */
    @JvmName("xrmgmphskoesmkwo")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value Risk level. Available values: `low`, `medium`, `high`
     */
    @JvmName("pffdaxfbdutemhpd")
    public suspend fun riskLevel(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.riskLevel = mapped
    }

    internal fun build(): ZeroTrustRiskBehaviorBehaviorArgs = ZeroTrustRiskBehaviorBehaviorArgs(
        enabled = enabled ?: throw PulumiNullFieldException("enabled"),
        name = name ?: throw PulumiNullFieldException("name"),
        riskLevel = riskLevel ?: throw PulumiNullFieldException("riskLevel"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy