com.pulumi.awsnative.lookoutmetrics.kotlin.enums.AnomalyDetectorFrequency.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.lookoutmetrics.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Frequency of anomaly detection
*/
public enum class AnomalyDetectorFrequency(
public val javaValue: com.pulumi.awsnative.lookoutmetrics.enums.AnomalyDetectorFrequency,
) : ConvertibleToJava {
Pt5m(com.pulumi.awsnative.lookoutmetrics.enums.AnomalyDetectorFrequency.Pt5m),
Pt10m(com.pulumi.awsnative.lookoutmetrics.enums.AnomalyDetectorFrequency.Pt10m),
Pt1h(com.pulumi.awsnative.lookoutmetrics.enums.AnomalyDetectorFrequency.Pt1h),
P1d(com.pulumi.awsnative.lookoutmetrics.enums.AnomalyDetectorFrequency.P1d),
;
override fun toJava(): com.pulumi.awsnative.lookoutmetrics.enums.AnomalyDetectorFrequency =
javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.lookoutmetrics.enums.AnomalyDetectorFrequency): AnomalyDetectorFrequency =
AnomalyDetectorFrequency.values().first { it.javaValue == javaType }
}
}