com.pulumi.gcp.recaptcha.kotlin.inputs.EnterpriseKeyWafSettingsArgs.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.recaptcha.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.recaptcha.inputs.EnterpriseKeyWafSettingsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property wafFeature Supported WAF features. For more information, see https://cloud.google.com/recaptcha-enterprise/docs/usecase#comparison_of_features. Possible values: CHALLENGE_PAGE, SESSION_TOKEN, ACTION_TOKEN, EXPRESS
* @property wafService The WAF service that uses this key. Possible values: CA, FASTLY
*/
public data class EnterpriseKeyWafSettingsArgs(
public val wafFeature: Output,
public val wafService: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.recaptcha.inputs.EnterpriseKeyWafSettingsArgs =
com.pulumi.gcp.recaptcha.inputs.EnterpriseKeyWafSettingsArgs.builder()
.wafFeature(wafFeature.applyValue({ args0 -> args0 }))
.wafService(wafService.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EnterpriseKeyWafSettingsArgs].
*/
@PulumiTagMarker
public class EnterpriseKeyWafSettingsArgsBuilder internal constructor() {
private var wafFeature: Output? = null
private var wafService: Output? = null
/**
* @param value Supported WAF features. For more information, see https://cloud.google.com/recaptcha-enterprise/docs/usecase#comparison_of_features. Possible values: CHALLENGE_PAGE, SESSION_TOKEN, ACTION_TOKEN, EXPRESS
*/
@JvmName("ogemxooxcobhioou")
public suspend fun wafFeature(`value`: Output) {
this.wafFeature = value
}
/**
* @param value The WAF service that uses this key. Possible values: CA, FASTLY
*/
@JvmName("iovvvptltqdfpcdp")
public suspend fun wafService(`value`: Output) {
this.wafService = value
}
/**
* @param value Supported WAF features. For more information, see https://cloud.google.com/recaptcha-enterprise/docs/usecase#comparison_of_features. Possible values: CHALLENGE_PAGE, SESSION_TOKEN, ACTION_TOKEN, EXPRESS
*/
@JvmName("lomdelrivwbpwklx")
public suspend fun wafFeature(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.wafFeature = mapped
}
/**
* @param value The WAF service that uses this key. Possible values: CA, FASTLY
*/
@JvmName("rvnxdhnpdnmhdomt")
public suspend fun wafService(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.wafService = mapped
}
internal fun build(): EnterpriseKeyWafSettingsArgs = EnterpriseKeyWafSettingsArgs(
wafFeature = wafFeature ?: throw PulumiNullFieldException("wafFeature"),
wafService = wafService ?: throw PulumiNullFieldException("wafService"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy