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

com.pulumi.azurenative.cloudngfw.kotlin.inputs.GetPreRulePlainArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.cloudngfw.kotlin.inputs

import com.pulumi.azurenative.cloudngfw.inputs.GetPreRulePlainArgs.builder
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 globalRulestackName GlobalRulestack resource name
 * @property priority Pre Rule priority
 */
public data class GetPreRulePlainArgs(
    public val globalRulestackName: String,
    public val priority: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.cloudngfw.inputs.GetPreRulePlainArgs =
        com.pulumi.azurenative.cloudngfw.inputs.GetPreRulePlainArgs.builder()
            .globalRulestackName(globalRulestackName.let({ args0 -> args0 }))
            .priority(priority.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetPreRulePlainArgs].
 */
@PulumiTagMarker
public class GetPreRulePlainArgsBuilder internal constructor() {
    private var globalRulestackName: String? = null

    private var priority: String? = null

    /**
     * @param value GlobalRulestack resource name
     */
    @JvmName("uxqqbtgqhaeeqavb")
    public suspend fun globalRulestackName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.globalRulestackName = mapped
    }

    /**
     * @param value Pre Rule priority
     */
    @JvmName("scmkakcngsmvlamg")
    public suspend fun priority(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.priority = mapped
    }

    internal fun build(): GetPreRulePlainArgs = GetPreRulePlainArgs(
        globalRulestackName = globalRulestackName ?: throw PulumiNullFieldException("globalRulestackName"),
        priority = priority ?: throw PulumiNullFieldException("priority"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy