com.pulumi.cloudflare.kotlin.RiskBehaviorArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-cloudflare-kotlin Show documentation
Show all versions of pulumi-cloudflare-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.cloudflare.kotlin
import com.pulumi.cloudflare.RiskBehaviorArgs.builder
import com.pulumi.cloudflare.kotlin.inputs.RiskBehaviorBehaviorArgs
import com.pulumi.cloudflare.kotlin.inputs.RiskBehaviorBehaviorArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
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
/**
* The [Risk Behavior](https://developers.cloudflare.com/cloudflare-one/insights/risk-score/) resource allows you to configure Cloudflare Risk Behaviors for an account.
* @property accountId The account identifier to target for the resource.
* @property behaviors Zero Trust risk behaviors configured on this account
*/
public data class RiskBehaviorArgs(
public val accountId: Output? = null,
public val behaviors: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.RiskBehaviorArgs =
com.pulumi.cloudflare.RiskBehaviorArgs.builder()
.accountId(accountId?.applyValue({ args0 -> args0 }))
.behaviors(
behaviors?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [RiskBehaviorArgs].
*/
@PulumiTagMarker
public class RiskBehaviorArgsBuilder internal constructor() {
private var accountId: Output? = null
private var behaviors: Output>? = null
/**
* @param value The account identifier to target for the resource.
*/
@JvmName("ddjciqwxxclipwlh")
public suspend fun accountId(`value`: Output) {
this.accountId = value
}
/**
* @param value Zero Trust risk behaviors configured on this account
*/
@JvmName("djvpiqxsgkytkqxd")
public suspend fun behaviors(`value`: Output>) {
this.behaviors = value
}
@JvmName("byjpyuuoxeinebnt")
public suspend fun behaviors(vararg values: Output) {
this.behaviors = Output.all(values.asList())
}
/**
* @param values Zero Trust risk behaviors configured on this account
*/
@JvmName("mifxegnjqnatdffp")
public suspend fun behaviors(values: List