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

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

package com.pulumi.aws.wafv2.kotlin.inputs

import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContainsArgs.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.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property failureStrings Strings in the body of the response that indicate a failed login attempt.
 * @property successStrings Strings in the body of the response that indicate a successful login attempt.
 */
public data class
WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContainsArgs(
    public val failureStrings: Output>,
    public val successStrings: Output>,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.wafv2.inputs.WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContainsArgs =
        com.pulumi.aws.wafv2.inputs.WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContainsArgs.builder()
            .failureStrings(failureStrings.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .successStrings(successStrings.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContainsArgs].
 */
@PulumiTagMarker
public class
WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContainsArgsBuilder
internal constructor() {
    private var failureStrings: Output>? = null

    private var successStrings: Output>? = null

    /**
     * @param value Strings in the body of the response that indicate a failed login attempt.
     */
    @JvmName("xswymwxxdcobfsxg")
    public suspend fun failureStrings(`value`: Output>) {
        this.failureStrings = value
    }

    @JvmName("vfrvigfkawdilpdj")
    public suspend fun failureStrings(vararg values: Output) {
        this.failureStrings = Output.all(values.asList())
    }

    /**
     * @param values Strings in the body of the response that indicate a failed login attempt.
     */
    @JvmName("yltvtqukaypvhcth")
    public suspend fun failureStrings(values: List>) {
        this.failureStrings = Output.all(values)
    }

    /**
     * @param value Strings in the body of the response that indicate a successful login attempt.
     */
    @JvmName("javfnxmjdpncvkve")
    public suspend fun successStrings(`value`: Output>) {
        this.successStrings = value
    }

    @JvmName("radldmwcfixiajgt")
    public suspend fun successStrings(vararg values: Output) {
        this.successStrings = Output.all(values.asList())
    }

    /**
     * @param values Strings in the body of the response that indicate a successful login attempt.
     */
    @JvmName("jhdnapvxstcgxhgj")
    public suspend fun successStrings(values: List>) {
        this.successStrings = Output.all(values)
    }

    /**
     * @param value Strings in the body of the response that indicate a failed login attempt.
     */
    @JvmName("hernistlustrhlrl")
    public suspend fun failureStrings(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.failureStrings = mapped
    }

    /**
     * @param values Strings in the body of the response that indicate a failed login attempt.
     */
    @JvmName("bttxsxwoajfcrfks")
    public suspend fun failureStrings(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.failureStrings = mapped
    }

    /**
     * @param value Strings in the body of the response that indicate a successful login attempt.
     */
    @JvmName("ehytcgpywavibgqa")
    public suspend fun successStrings(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.successStrings = mapped
    }

    /**
     * @param values Strings in the body of the response that indicate a successful login attempt.
     */
    @JvmName("vlldosjunflkewoy")
    public suspend fun successStrings(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.successStrings = mapped
    }

    internal fun build(): WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContainsArgs =
        WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContainsArgs(
            failureStrings = failureStrings ?: throw PulumiNullFieldException("failureStrings"),
            successStrings = successStrings ?: throw PulumiNullFieldException("successStrings"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy