com.pulumi.awsnative.datasync.kotlin.enums.LocationObjectStorageServerProtocol.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.datasync.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* The protocol that the object storage server uses to communicate.
*/
public enum class LocationObjectStorageServerProtocol(
public val javaValue: com.pulumi.awsnative.datasync.enums.LocationObjectStorageServerProtocol,
) : ConvertibleToJava {
Https(com.pulumi.awsnative.datasync.enums.LocationObjectStorageServerProtocol.Https),
Http(com.pulumi.awsnative.datasync.enums.LocationObjectStorageServerProtocol.Http),
;
override fun toJava(): com.pulumi.awsnative.datasync.enums.LocationObjectStorageServerProtocol =
javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.datasync.enums.LocationObjectStorageServerProtocol): LocationObjectStorageServerProtocol =
LocationObjectStorageServerProtocol.values().first { it.javaValue == javaType }
}
}