
com.pulumi.googlenative.recaptchaenterprise.v1.kotlin.inputs.GoogleCloudRecaptchaenterpriseV1WafSettingsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-native-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.googlenative.recaptchaenterprise.v1.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.recaptchaenterprise.v1.inputs.GoogleCloudRecaptchaenterpriseV1WafSettingsArgs.builder
import com.pulumi.googlenative.recaptchaenterprise.v1.kotlin.enums.GoogleCloudRecaptchaenterpriseV1WafSettingsWafFeature
import com.pulumi.googlenative.recaptchaenterprise.v1.kotlin.enums.GoogleCloudRecaptchaenterpriseV1WafSettingsWafService
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Settings specific to keys that can be used for WAF (Web Application Firewall).
* @property wafFeature The WAF feature for which this key is enabled.
* @property wafService The WAF service that uses this key.
*/
public data class GoogleCloudRecaptchaenterpriseV1WafSettingsArgs(
public val wafFeature: Output,
public val wafService: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.recaptchaenterprise.v1.inputs.GoogleCloudRecaptchaenterpriseV1WafSettingsArgs =
com.pulumi.googlenative.recaptchaenterprise.v1.inputs.GoogleCloudRecaptchaenterpriseV1WafSettingsArgs.builder()
.wafFeature(wafFeature.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.wafService(wafService.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [GoogleCloudRecaptchaenterpriseV1WafSettingsArgs].
*/
@PulumiTagMarker
public class GoogleCloudRecaptchaenterpriseV1WafSettingsArgsBuilder internal constructor() {
private var wafFeature: Output? = null
private var wafService: Output? = null
/**
* @param value The WAF feature for which this key is enabled.
*/
@JvmName("gartciwdkdwscuib")
public suspend fun wafFeature(`value`: Output) {
this.wafFeature = value
}
/**
* @param value The WAF service that uses this key.
*/
@JvmName("joictgyqklqlcaoj")
public suspend fun wafService(`value`: Output) {
this.wafService = value
}
/**
* @param value The WAF feature for which this key is enabled.
*/
@JvmName("sjbklrlsatrbwixg")
public suspend fun wafFeature(`value`: GoogleCloudRecaptchaenterpriseV1WafSettingsWafFeature) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.wafFeature = mapped
}
/**
* @param value The WAF service that uses this key.
*/
@JvmName("oysqutbhdvmelxsf")
public suspend fun wafService(`value`: GoogleCloudRecaptchaenterpriseV1WafSettingsWafService) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.wafService = mapped
}
internal fun build(): GoogleCloudRecaptchaenterpriseV1WafSettingsArgs =
GoogleCloudRecaptchaenterpriseV1WafSettingsArgs(
wafFeature = wafFeature ?: throw PulumiNullFieldException("wafFeature"),
wafService = wafService ?: throw PulumiNullFieldException("wafService"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy