All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.quicksight.kotlin.enums.DashboardTimeGranularity.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 0.122.0.0
Show newest version
@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 }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy