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

com.pulumi.azure.sentinel.kotlin.inputs.AlertRuleAnomalyDuplicatePrioritizedExcludeObservationArgs.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.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.sentinel.kotlin.inputs

import com.pulumi.azure.sentinel.inputs.AlertRuleAnomalyDuplicatePrioritizedExcludeObservationArgs.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.jvm.JvmName

/**
 *
 * @property description The description of the prioritized exclude observation.
 * @property exclude The excluded value per `description`.
 * @property name The name of the prioritized exclude observation.
 * @property prioritize The prioritized value per `description`.
 */
public data class AlertRuleAnomalyDuplicatePrioritizedExcludeObservationArgs(
    public val description: Output? = null,
    public val exclude: Output? = null,
    public val name: Output,
    public val prioritize: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.sentinel.inputs.AlertRuleAnomalyDuplicatePrioritizedExcludeObservationArgs =
        com.pulumi.azure.sentinel.inputs.AlertRuleAnomalyDuplicatePrioritizedExcludeObservationArgs.builder()
            .description(description?.applyValue({ args0 -> args0 }))
            .exclude(exclude?.applyValue({ args0 -> args0 }))
            .name(name.applyValue({ args0 -> args0 }))
            .prioritize(prioritize?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AlertRuleAnomalyDuplicatePrioritizedExcludeObservationArgs].
 */
@PulumiTagMarker
public class AlertRuleAnomalyDuplicatePrioritizedExcludeObservationArgsBuilder internal constructor() {
    private var description: Output? = null

    private var exclude: Output? = null

    private var name: Output? = null

    private var prioritize: Output? = null

    /**
     * @param value The description of the prioritized exclude observation.
     */
    @JvmName("ocmrotdueyddeahm")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value The excluded value per `description`.
     */
    @JvmName("xmjihfhraaqowkgu")
    public suspend fun exclude(`value`: Output) {
        this.exclude = value
    }

    /**
     * @param value The name of the prioritized exclude observation.
     */
    @JvmName("edththufummijdxt")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The prioritized value per `description`.
     */
    @JvmName("nwdqcjjheuabpcsv")
    public suspend fun prioritize(`value`: Output) {
        this.prioritize = value
    }

    /**
     * @param value The description of the prioritized exclude observation.
     */
    @JvmName("rqakkbsaonywknwo")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value The excluded value per `description`.
     */
    @JvmName("cctydsmryljqhtgy")
    public suspend fun exclude(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.exclude = mapped
    }

    /**
     * @param value The name of the prioritized exclude observation.
     */
    @JvmName("bqutyqvnadagqyhm")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value The prioritized value per `description`.
     */
    @JvmName("gcvmapdfsgdjrysi")
    public suspend fun prioritize(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.prioritize = mapped
    }

    internal fun build(): AlertRuleAnomalyDuplicatePrioritizedExcludeObservationArgs =
        AlertRuleAnomalyDuplicatePrioritizedExcludeObservationArgs(
            description = description,
            exclude = exclude,
            name = name ?: throw PulumiNullFieldException("name"),
            prioritize = prioritize,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy