com.pulumi.awsnative.securityhub.kotlin.enums.InsightDateRangeUnit.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.securityhub.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* A date range unit for the date filter.
*/
public enum class InsightDateRangeUnit(
public val javaValue: com.pulumi.awsnative.securityhub.enums.InsightDateRangeUnit,
) : ConvertibleToJava {
Days(com.pulumi.awsnative.securityhub.enums.InsightDateRangeUnit.Days),
;
override fun toJava(): com.pulumi.awsnative.securityhub.enums.InsightDateRangeUnit = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.securityhub.enums.InsightDateRangeUnit): InsightDateRangeUnit = InsightDateRangeUnit.values().first { it.javaValue == javaType }
}
}