com.pulumi.azurenative.eventgrid.kotlin.enums.DeliveryMode.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.eventgrid.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Delivery mode of the event subscription.
*/
public enum class DeliveryMode(
public val javaValue: com.pulumi.azurenative.eventgrid.enums.DeliveryMode,
) : ConvertibleToJava {
Queue(com.pulumi.azurenative.eventgrid.enums.DeliveryMode.Queue),
;
override fun toJava(): com.pulumi.azurenative.eventgrid.enums.DeliveryMode = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.eventgrid.enums.DeliveryMode): DeliveryMode = DeliveryMode.values().first { it.javaValue == javaType }
}
}