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

com.pulumi.azurenative.databasewatcher.kotlin.inputs.GetAlertRuleResourcePlainArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.databasewatcher.kotlin.inputs

import com.pulumi.azurenative.databasewatcher.inputs.GetAlertRuleResourcePlainArgs.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 alertRuleResourceName The alert rule proxy resource name.
 * @property resourceGroupName The name of the resource group. The name is case insensitive.
 * @property watcherName The database watcher name.
 */
public data class GetAlertRuleResourcePlainArgs(
    public val alertRuleResourceName: String,
    public val resourceGroupName: String,
    public val watcherName: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.databasewatcher.inputs.GetAlertRuleResourcePlainArgs = com.pulumi.azurenative.databasewatcher.inputs.GetAlertRuleResourcePlainArgs.builder()
        .alertRuleResourceName(alertRuleResourceName.let({ args0 -> args0 }))
        .resourceGroupName(resourceGroupName.let({ args0 -> args0 }))
        .watcherName(watcherName.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetAlertRuleResourcePlainArgs].
 */
@PulumiTagMarker
public class GetAlertRuleResourcePlainArgsBuilder internal constructor() {
    private var alertRuleResourceName: String? = null

    private var resourceGroupName: String? = null

    private var watcherName: String? = null

    /**
     * @param value The alert rule proxy resource name.
     */
    @JvmName("xibgpnxxrkaxpnwh")
    public suspend fun alertRuleResourceName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.alertRuleResourceName = mapped
    }

    /**
     * @param value The name of the resource group. The name is case insensitive.
     */
    @JvmName("kuwfritjvcjswkfp")
    public suspend fun resourceGroupName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.resourceGroupName = mapped
    }

    /**
     * @param value The database watcher name.
     */
    @JvmName("yqinluoxhowgkrgg")
    public suspend fun watcherName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.watcherName = mapped
    }

    internal fun build(): GetAlertRuleResourcePlainArgs = GetAlertRuleResourcePlainArgs(
        alertRuleResourceName = alertRuleResourceName ?: throw
            PulumiNullFieldException("alertRuleResourceName"),
        resourceGroupName = resourceGroupName ?: throw PulumiNullFieldException("resourceGroupName"),
        watcherName = watcherName ?: throw PulumiNullFieldException("watcherName"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy