
com.pulumi.azure.sentinel.kotlin.inputs.AlertRuleAnomalyDuplicateThresholdObservationArgs.kt Maven / Gradle / Ivy
@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("ljhcbabbidvrvoha")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The max value of the threshold observation.
*/
@JvmName("rmpwwtjhtkorbuce")
public suspend fun max(`value`: Output) {
this.max = value
}
/**
* @param value The min value of the threshold observation.
*/
@JvmName("stelgfbrswwqrqnb")
public suspend fun min(`value`: Output) {
this.min = value
}
/**
* @param value The name of the threshold observation.
*/
@JvmName("dqhiewmsuvleckfn")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The value of the threshold observation.
*/
@JvmName("rqrafyybxmqvedaj")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value The description of the threshold observation.
*/
@JvmName("jkfrtcqvuxhwhyhw")
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("lndqkltiyxjucock")
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("gupehsldufkpxqil")
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("ckqkvaguhpypgqrb")
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("nllhmlqdwvpofbfk")
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