com.pulumi.aws.wafv2.kotlin.inputs.WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.wafv2.kotlin.inputs
import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property passwordField Details about your login page password field. See `password_field` for more details.
* @property payloadType The payload type for your login endpoint, either JSON or form encoded.
* @property usernameField Details about your login page username field. See `username_field` for more details.
*/
public data class
WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionArgs(
public val passwordField: Output,
public val payloadType: Output,
public val usernameField: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.wafv2.inputs.WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionArgs =
com.pulumi.aws.wafv2.inputs.WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionArgs.builder()
.passwordField(passwordField.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.payloadType(payloadType.applyValue({ args0 -> args0 }))
.usernameField(usernameField.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionArgs].
*/
@PulumiTagMarker
public class
WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionArgsBuilder
internal constructor() {
private var passwordField:
Output? =
null
private var payloadType: Output? = null
private var usernameField:
Output? =
null
/**
* @param value Details about your login page password field. See `password_field` for more details.
*/
@JvmName("yswiwinmbyfkqpxa")
public suspend fun passwordField(`value`: Output) {
this.passwordField = value
}
/**
* @param value The payload type for your login endpoint, either JSON or form encoded.
*/
@JvmName("bpcrdxplcqroluho")
public suspend fun payloadType(`value`: Output) {
this.payloadType = value
}
/**
* @param value Details about your login page username field. See `username_field` for more details.
*/
@JvmName("emtjwmokeqcvdnbs")
public suspend fun usernameField(`value`: Output) {
this.usernameField = value
}
/**
* @param value Details about your login page password field. See `password_field` for more details.
*/
@JvmName("xiyvcdgalnjwfklk")
public suspend fun passwordField(`value`: WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionPasswordFieldArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.passwordField = mapped
}
/**
* @param argument Details about your login page password field. See `password_field` for more details.
*/
@JvmName("itnupgttvksgofja")
public suspend fun passwordField(argument: suspend WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionPasswordFieldArgsBuilder.() -> Unit) {
val toBeMapped =
WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionPasswordFieldArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.passwordField = mapped
}
/**
* @param value The payload type for your login endpoint, either JSON or form encoded.
*/
@JvmName("icytptjictmqqyth")
public suspend fun payloadType(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.payloadType = mapped
}
/**
* @param value Details about your login page username field. See `username_field` for more details.
*/
@JvmName("triaibhgkdvgveaq")
public suspend fun usernameField(`value`: WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameFieldArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.usernameField = mapped
}
/**
* @param argument Details about your login page username field. See `username_field` for more details.
*/
@JvmName("agcxhqlqvoctvwvj")
public suspend fun usernameField(argument: suspend WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameFieldArgsBuilder.() -> Unit) {
val toBeMapped =
WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameFieldArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.usernameField = mapped
}
internal fun build(): WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionArgs =
WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionArgs(
passwordField = passwordField ?: throw PulumiNullFieldException("passwordField"),
payloadType = payloadType ?: throw PulumiNullFieldException("payloadType"),
usernameField = usernameField ?: throw PulumiNullFieldException("usernameField"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy