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

com.pulumi.aws.networkfirewall.kotlin.inputs.RuleGroupRuleGroupRuleVariablesIpSetIpSetArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.networkfirewall.kotlin.inputs

import com.pulumi.aws.networkfirewall.inputs.RuleGroupRuleGroupRuleVariablesIpSetIpSetArgs.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 definitions Set of IP addresses and address ranges, in CIDR notation.
 */
public data class RuleGroupRuleGroupRuleVariablesIpSetIpSetArgs(
    public val definitions: Output>,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.networkfirewall.inputs.RuleGroupRuleGroupRuleVariablesIpSetIpSetArgs =
        com.pulumi.aws.networkfirewall.inputs.RuleGroupRuleGroupRuleVariablesIpSetIpSetArgs.builder()
            .definitions(definitions.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

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

    /**
     * @param value Set of IP addresses and address ranges, in CIDR notation.
     */
    @JvmName("icxnvawpdxfyfxpg")
    public suspend fun definitions(`value`: Output>) {
        this.definitions = value
    }

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

    /**
     * @param values Set of IP addresses and address ranges, in CIDR notation.
     */
    @JvmName("aqthwsdchmcrutmr")
    public suspend fun definitions(values: List>) {
        this.definitions = Output.all(values)
    }

    /**
     * @param value Set of IP addresses and address ranges, in CIDR notation.
     */
    @JvmName("gshmbobihrxkvvqk")
    public suspend fun definitions(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.definitions = mapped
    }

    /**
     * @param values Set of IP addresses and address ranges, in CIDR notation.
     */
    @JvmName("hokoebgjqhydrtqu")
    public suspend fun definitions(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.definitions = mapped
    }

    internal fun build(): RuleGroupRuleGroupRuleVariablesIpSetIpSetArgs =
        RuleGroupRuleGroupRuleVariablesIpSetIpSetArgs(
            definitions = definitions ?: throw PulumiNullFieldException("definitions"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy