com.pulumi.awsnative.quicksight.kotlin.enums.DashboardTimeGranularity.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.quicksight.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
public enum class DashboardTimeGranularity(
public val javaValue: com.pulumi.awsnative.quicksight.enums.DashboardTimeGranularity,
) : ConvertibleToJava {
Year(com.pulumi.awsnative.quicksight.enums.DashboardTimeGranularity.Year),
Quarter(com.pulumi.awsnative.quicksight.enums.DashboardTimeGranularity.Quarter),
Month(com.pulumi.awsnative.quicksight.enums.DashboardTimeGranularity.Month),
Week(com.pulumi.awsnative.quicksight.enums.DashboardTimeGranularity.Week),
Day(com.pulumi.awsnative.quicksight.enums.DashboardTimeGranularity.Day),
Hour(com.pulumi.awsnative.quicksight.enums.DashboardTimeGranularity.Hour),
Minute(com.pulumi.awsnative.quicksight.enums.DashboardTimeGranularity.Minute),
Second(com.pulumi.awsnative.quicksight.enums.DashboardTimeGranularity.Second),
Millisecond(com.pulumi.awsnative.quicksight.enums.DashboardTimeGranularity.Millisecond),
;
override fun toJava(): com.pulumi.awsnative.quicksight.enums.DashboardTimeGranularity = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.enums.DashboardTimeGranularity): DashboardTimeGranularity =
DashboardTimeGranularity.values().first { it.javaValue == javaType }
}
}