![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.iotoperations.kotlin.enums.SubscriberMessageDropStrategy.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-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.azurenative.iotoperations.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* The strategy to use for dropping messages from the queue.
*/
public enum class SubscriberMessageDropStrategy(
public val javaValue: com.pulumi.azurenative.iotoperations.enums.SubscriberMessageDropStrategy,
) : ConvertibleToJava {
/**
* Messages are never dropped.
*/
None(com.pulumi.azurenative.iotoperations.enums.SubscriberMessageDropStrategy.None),
/**
* The oldest message is dropped.
*/
DropOldest(com.pulumi.azurenative.iotoperations.enums.SubscriberMessageDropStrategy.DropOldest),
;
override fun toJava(): com.pulumi.azurenative.iotoperations.enums.SubscriberMessageDropStrategy =
javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.iotoperations.enums.SubscriberMessageDropStrategy): SubscriberMessageDropStrategy =
SubscriberMessageDropStrategy.values().first { it.javaValue == javaType }
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy