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

com.pulumi.googlenative.memcache.v1beta2.kotlin.enums.InstanceMemcacheVersion.kt Maven / Gradle / Ivy

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

package com.pulumi.googlenative.memcache.v1beta2.kotlin.enums

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

/**
 * The major version of Memcached software. If not provided, latest supported version will be used. Currently the latest supported major version is `MEMCACHE_1_5`. The minor version will be automatically determined by our system based on the latest supported minor version.
 */
public enum class InstanceMemcacheVersion(
    public val javaValue: com.pulumi.googlenative.memcache.v1beta2.enums.InstanceMemcacheVersion,
) : ConvertibleToJava {
    /**
     * Memcache version is not specified by customer
     */
    MemcacheVersionUnspecified(com.pulumi.googlenative.memcache.v1beta2.enums.InstanceMemcacheVersion.MemcacheVersionUnspecified),

    /**
     * Memcached 1.5 version.
     */
    Memcache15(com.pulumi.googlenative.memcache.v1beta2.enums.InstanceMemcacheVersion.Memcache15),
    ;

    override fun toJava(): com.pulumi.googlenative.memcache.v1beta2.enums.InstanceMemcacheVersion =
        javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.memcache.v1beta2.enums.InstanceMemcacheVersion): InstanceMemcacheVersion =
            InstanceMemcacheVersion.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy