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

com.pulumi.digitalocean.kotlin.enums.DatabaseSlug.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.digitalocean.kotlin.enums

import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress

public enum class DatabaseSlug(
    public val javaValue: com.pulumi.digitalocean.enums.DatabaseSlug,
) : ConvertibleToJava {
    DB_1VPCU1GB(com.pulumi.digitalocean.enums.DatabaseSlug.DB_1VPCU1GB),
    DB_1VPCU2GB(com.pulumi.digitalocean.enums.DatabaseSlug.DB_1VPCU2GB),
    DB_2VPCU4GB(com.pulumi.digitalocean.enums.DatabaseSlug.DB_2VPCU4GB),
    DB_4VPCU8GB(com.pulumi.digitalocean.enums.DatabaseSlug.DB_4VPCU8GB),
    DB_6VPCU16GB(com.pulumi.digitalocean.enums.DatabaseSlug.DB_6VPCU16GB),
    DB_8VPCU32GB(com.pulumi.digitalocean.enums.DatabaseSlug.DB_8VPCU32GB),
    DB_16VPCU64GB(com.pulumi.digitalocean.enums.DatabaseSlug.DB_16VPCU64GB),
    ;

    override fun toJava(): com.pulumi.digitalocean.enums.DatabaseSlug = javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.digitalocean.enums.DatabaseSlug): DatabaseSlug =
            DatabaseSlug.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy