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

com.pulumi.aws.waf.kotlin.inputs.GetSubscribedRuleGroupPlainArgs.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.waf.kotlin.inputs

import com.pulumi.aws.waf.inputs.GetSubscribedRuleGroupPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * A collection of arguments for invoking getSubscribedRuleGroup.
 * @property metricName Name of the WAF rule group.
 * @property name Name of the WAF rule group.
 */
public data class GetSubscribedRuleGroupPlainArgs(
    public val metricName: String? = null,
    public val name: String? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.waf.inputs.GetSubscribedRuleGroupPlainArgs =
        com.pulumi.aws.waf.inputs.GetSubscribedRuleGroupPlainArgs.builder()
            .metricName(metricName?.let({ args0 -> args0 }))
            .name(name?.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetSubscribedRuleGroupPlainArgs].
 */
@PulumiTagMarker
public class GetSubscribedRuleGroupPlainArgsBuilder internal constructor() {
    private var metricName: String? = null

    private var name: String? = null

    /**
     * @param value Name of the WAF rule group.
     */
    @JvmName("ekvpykiyuhjvndei")
    public suspend fun metricName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.metricName = mapped
    }

    /**
     * @param value Name of the WAF rule group.
     */
    @JvmName("xmxarrxdwcqodpea")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.name = mapped
    }

    internal fun build(): GetSubscribedRuleGroupPlainArgs = GetSubscribedRuleGroupPlainArgs(
        metricName = metricName,
        name = name,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy