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

com.pulumi.awsnative.wafv2.kotlin.inputs.RuleGroupCaptchaConfigArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.wafv2.kotlin.inputs

import com.pulumi.awsnative.wafv2.inputs.RuleGroupCaptchaConfigArgs.builder
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.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property immunityTimeProperty Determines how long a `CAPTCHA` timestamp in the token remains valid after the client successfully solves a `CAPTCHA` puzzle.
 */
public data class RuleGroupCaptchaConfigArgs(
    public val immunityTimeProperty: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.wafv2.inputs.RuleGroupCaptchaConfigArgs =
        com.pulumi.awsnative.wafv2.inputs.RuleGroupCaptchaConfigArgs.builder()
            .immunityTimeProperty(
                immunityTimeProperty?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [RuleGroupCaptchaConfigArgs].
 */
@PulumiTagMarker
public class RuleGroupCaptchaConfigArgsBuilder internal constructor() {
    private var immunityTimeProperty: Output? = null

    /**
     * @param value Determines how long a `CAPTCHA` timestamp in the token remains valid after the client successfully solves a `CAPTCHA` puzzle.
     */
    @JvmName("xjuoyynthdppcudc")
    public suspend fun immunityTimeProperty(`value`: Output) {
        this.immunityTimeProperty = value
    }

    /**
     * @param value Determines how long a `CAPTCHA` timestamp in the token remains valid after the client successfully solves a `CAPTCHA` puzzle.
     */
    @JvmName("vidxtmpstpamfohh")
    public suspend fun immunityTimeProperty(`value`: RuleGroupImmunityTimePropertyArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.immunityTimeProperty = mapped
    }

    /**
     * @param argument Determines how long a `CAPTCHA` timestamp in the token remains valid after the client successfully solves a `CAPTCHA` puzzle.
     */
    @JvmName("ptvusrbhjcgnpsyf")
    public suspend fun immunityTimeProperty(argument: suspend RuleGroupImmunityTimePropertyArgsBuilder.() -> Unit) {
        val toBeMapped = RuleGroupImmunityTimePropertyArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.immunityTimeProperty = mapped
    }

    internal fun build(): RuleGroupCaptchaConfigArgs = RuleGroupCaptchaConfigArgs(
        immunityTimeProperty = immunityTimeProperty,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy