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

com.pulumi.awsnative.wafv2.kotlin.inputs.RuleGroupChallengeConfigArgs.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.awsnative.wafv2.inputs.RuleGroupChallengeConfigArgs.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 challenge timestamp in the token remains valid after the client successfully responds to a challenge.
 */
public data class RuleGroupChallengeConfigArgs(
    public val immunityTimeProperty: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.wafv2.inputs.RuleGroupChallengeConfigArgs =
        com.pulumi.awsnative.wafv2.inputs.RuleGroupChallengeConfigArgs.builder()
            .immunityTimeProperty(
                immunityTimeProperty?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

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

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

    /**
     * @param value Determines how long a challenge timestamp in the token remains valid after the client successfully responds to a challenge.
     */
    @JvmName("okltelgymrtcebld")
    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 challenge timestamp in the token remains valid after the client successfully responds to a challenge.
     */
    @JvmName("txcgabapuvlxnybt")
    public suspend fun immunityTimeProperty(argument: suspend RuleGroupImmunityTimePropertyArgsBuilder.() -> Unit) {
        val toBeMapped = RuleGroupImmunityTimePropertyArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.immunityTimeProperty = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy