
com.pulumi.aws.wafv2.kotlin.inputs.RuleGroupRuleActionCaptchaCustomRequestHandlingInsertHeaderArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.wafv2.kotlin.inputs
import com.pulumi.aws.wafv2.inputs.RuleGroupRuleActionCaptchaCustomRequestHandlingInsertHeaderArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
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 name A friendly name of the rule group.
* @property value The value of the custom header.
*/
public data class RuleGroupRuleActionCaptchaCustomRequestHandlingInsertHeaderArgs(
public val name: Output,
public val `value`: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.wafv2.inputs.RuleGroupRuleActionCaptchaCustomRequestHandlingInsertHeaderArgs =
com.pulumi.aws.wafv2.inputs.RuleGroupRuleActionCaptchaCustomRequestHandlingInsertHeaderArgs.builder()
.name(name.applyValue({ args0 -> args0 }))
.`value`(`value`.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [RuleGroupRuleActionCaptchaCustomRequestHandlingInsertHeaderArgs].
*/
@PulumiTagMarker
public class RuleGroupRuleActionCaptchaCustomRequestHandlingInsertHeaderArgsBuilder internal constructor() {
private var name: Output? = null
private var `value`: Output? = null
/**
* @param value A friendly name of the rule group.
*/
@JvmName("ksmofftmujguasbb")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The value of the custom header.
*/
@JvmName("pktqrrfnyrsglaar")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value A friendly name of the rule group.
*/
@JvmName("ecncmplecqrwmlhn")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The value of the custom header.
*/
@JvmName("gdfhyrjyjcividab")
public suspend fun `value`(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.`value` = mapped
}
internal fun build(): RuleGroupRuleActionCaptchaCustomRequestHandlingInsertHeaderArgs =
RuleGroupRuleActionCaptchaCustomRequestHandlingInsertHeaderArgs(
name = name ?: throw PulumiNullFieldException("name"),
`value` = `value` ?: throw PulumiNullFieldException("value"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy