com.pulumi.awsnative.applicationsignals.kotlin.enums.ServiceLevelObjectiveSliComparisonOperator.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-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.awsnative.applicationsignals.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* The arithmetic operation used when comparing the specified metric to the threshold.
*/
public enum class ServiceLevelObjectiveSliComparisonOperator(
public val javaValue: com.pulumi.awsnative.applicationsignals.enums.ServiceLevelObjectiveSliComparisonOperator,
) :
ConvertibleToJava {
GreaterThanOrEqualTo(com.pulumi.awsnative.applicationsignals.enums.ServiceLevelObjectiveSliComparisonOperator.GreaterThanOrEqualTo),
LessThanOrEqualTo(com.pulumi.awsnative.applicationsignals.enums.ServiceLevelObjectiveSliComparisonOperator.LessThanOrEqualTo),
LessThan(com.pulumi.awsnative.applicationsignals.enums.ServiceLevelObjectiveSliComparisonOperator.LessThan),
GreaterThan(com.pulumi.awsnative.applicationsignals.enums.ServiceLevelObjectiveSliComparisonOperator.GreaterThan),
;
override fun toJava(): com.pulumi.awsnative.applicationsignals.enums.ServiceLevelObjectiveSliComparisonOperator =
javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.applicationsignals.enums.ServiceLevelObjectiveSliComparisonOperator): ServiceLevelObjectiveSliComparisonOperator =
ServiceLevelObjectiveSliComparisonOperator.values().first { it.javaValue == javaType }
}
}