com.pulumi.awsnative.gamelift.kotlin.enums.FleetIpPermissionProtocol.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.gamelift.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* The network communication protocol used by the fleet.
*/
public enum class FleetIpPermissionProtocol(
public val javaValue: com.pulumi.awsnative.gamelift.enums.FleetIpPermissionProtocol,
) : ConvertibleToJava {
Tcp(com.pulumi.awsnative.gamelift.enums.FleetIpPermissionProtocol.Tcp),
Udp(com.pulumi.awsnative.gamelift.enums.FleetIpPermissionProtocol.Udp),
;
override fun toJava(): com.pulumi.awsnative.gamelift.enums.FleetIpPermissionProtocol = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.gamelift.enums.FleetIpPermissionProtocol): FleetIpPermissionProtocol =
FleetIpPermissionProtocol.values().first { it.javaValue == javaType }
}
}