
com.pulumi.azure.sentinel.kotlin.inputs.AlertRuleAnomalyDuplicateThresholdObservationArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.sentinel.kotlin.inputs
import com.pulumi.azure.sentinel.inputs.AlertRuleAnomalyDuplicateThresholdObservationArgs.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 threshold observation.
* @property max The max value of the threshold observation.
* @property min The min value of the threshold observation.
* @property name The name of the threshold observation.
* @property value The value of the threshold observation.
*/
public data class AlertRuleAnomalyDuplicateThresholdObservationArgs(
public val description: Output? = null,
public val max: Output? = null,
public val min: Output? = null,
public val name: Output,
public val `value`: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azure.sentinel.inputs.AlertRuleAnomalyDuplicateThresholdObservationArgs =
com.pulumi.azure.sentinel.inputs.AlertRuleAnomalyDuplicateThresholdObservationArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.max(max?.applyValue({ args0 -> args0 }))
.min(min?.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 }))
.`value`(`value`.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AlertRuleAnomalyDuplicateThresholdObservationArgs].
*/
@PulumiTagMarker
public class AlertRuleAnomalyDuplicateThresholdObservationArgsBuilder internal constructor() {
private var description: Output? = null
private var max: Output? = null
private var min: Output? = null
private var name: Output? = null
private var `value`: Output? = null
/**
* @param value The description of the threshold observation.
*/
@JvmName("cuiugwicmmjfujbs")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The max value of the threshold observation.
*/
@JvmName("fbtnguegypdufnli")
public suspend fun max(`value`: Output) {
this.max = value
}
/**
* @param value The min value of the threshold observation.
*/
@JvmName("qutkwxrpwbitsjan")
public suspend fun min(`value`: Output) {
this.min = value
}
/**
* @param value The name of the threshold observation.
*/
@JvmName("msrmhjgpfgfsukgw")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The value of the threshold observation.
*/
@JvmName("vowpgbblclaieidh")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value The description of the threshold observation.
*/
@JvmName("kavaqqqxfmfffapr")
public suspend fun description(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.description = mapped
}
/**
* @param value The max value of the threshold observation.
*/
@JvmName("xybmedcoarhjtalt")
public suspend fun max(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.max = mapped
}
/**
* @param value The min value of the threshold observation.
*/
@JvmName("pafxxucsgviljwja")
public suspend fun min(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.min = mapped
}
/**
* @param value The name of the threshold observation.
*/
@JvmName("tokpogvuoncrhkpb")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The value of the threshold observation.
*/
@JvmName("vdlbvigvfvlaqfql")
public suspend fun `value`(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.`value` = mapped
}
internal fun build(): AlertRuleAnomalyDuplicateThresholdObservationArgs =
AlertRuleAnomalyDuplicateThresholdObservationArgs(
description = description,
max = max,
min = min,
name = name ?: throw PulumiNullFieldException("name"),
`value` = `value` ?: throw PulumiNullFieldException("value"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy