![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.customerinsights.kotlin.inputs.KpiThresholdsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.customerinsights.kotlin.inputs
import com.pulumi.azurenative.customerinsights.inputs.KpiThresholdsArgs.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.Boolean
import kotlin.Double
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Defines the KPI Threshold limits.
* @property increasingKpi Whether or not the KPI is an increasing KPI.
* @property lowerLimit The lower threshold limit.
* @property upperLimit The upper threshold limit.
*/
public data class KpiThresholdsArgs(
public val increasingKpi: Output,
public val lowerLimit: Output,
public val upperLimit: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.customerinsights.inputs.KpiThresholdsArgs =
com.pulumi.azurenative.customerinsights.inputs.KpiThresholdsArgs.builder()
.increasingKpi(increasingKpi.applyValue({ args0 -> args0 }))
.lowerLimit(lowerLimit.applyValue({ args0 -> args0 }))
.upperLimit(upperLimit.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [KpiThresholdsArgs].
*/
@PulumiTagMarker
public class KpiThresholdsArgsBuilder internal constructor() {
private var increasingKpi: Output? = null
private var lowerLimit: Output? = null
private var upperLimit: Output? = null
/**
* @param value Whether or not the KPI is an increasing KPI.
*/
@JvmName("tetsdkxribrxltuh")
public suspend fun increasingKpi(`value`: Output) {
this.increasingKpi = value
}
/**
* @param value The lower threshold limit.
*/
@JvmName("xcvfysmibnwyhrmk")
public suspend fun lowerLimit(`value`: Output) {
this.lowerLimit = value
}
/**
* @param value The upper threshold limit.
*/
@JvmName("uyrstdjnkbqovtym")
public suspend fun upperLimit(`value`: Output) {
this.upperLimit = value
}
/**
* @param value Whether or not the KPI is an increasing KPI.
*/
@JvmName("rskxokcaahodnnna")
public suspend fun increasingKpi(`value`: Boolean) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.increasingKpi = mapped
}
/**
* @param value The lower threshold limit.
*/
@JvmName("wowuywkfftqeqyvv")
public suspend fun lowerLimit(`value`: Double) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.lowerLimit = mapped
}
/**
* @param value The upper threshold limit.
*/
@JvmName("nycioqnqojqumhml")
public suspend fun upperLimit(`value`: Double) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.upperLimit = mapped
}
internal fun build(): KpiThresholdsArgs = KpiThresholdsArgs(
increasingKpi = increasingKpi ?: throw PulumiNullFieldException("increasingKpi"),
lowerLimit = lowerLimit ?: throw PulumiNullFieldException("lowerLimit"),
upperLimit = upperLimit ?: throw PulumiNullFieldException("upperLimit"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy